public abstract class Pack extends Object
Constructor and Description |
---|
Pack() |
Modifier and Type | Method and Description |
---|---|
static int |
bigEndianToInt(byte[] bs,
int off) |
static long |
bigEndianToLong(byte[] bs,
int off) |
static void |
intToBigEndian(int n,
byte[] bs,
int off) |
static void |
intToLittleEndian(int n,
byte[] bs,
int off) |
static int |
littleEndianToInt(byte[] bs,
int off) |
static long |
littleEndianToLong(byte[] bs,
int off) |
static void |
longToBigEndian(long n,
byte[] bs,
int off) |
static void |
longToLittleEndian(long n,
byte[] bs,
int off) |
public static int bigEndianToInt(byte[] bs, int off)
public static void intToBigEndian(int n, byte[] bs, int off)
public static long bigEndianToLong(byte[] bs, int off)
public static void longToBigEndian(long n, byte[] bs, int off)
public static int littleEndianToInt(byte[] bs, int off)
public static void intToLittleEndian(int n, byte[] bs, int off)
public static long littleEndianToLong(byte[] bs, int off)
public static void longToLittleEndian(long n, byte[] bs, int off)
Copyright © 2015. All rights reserved.