public abstract class Pack
extends java.lang.Object
Constructor and Description |
---|
Pack() |
Modifier and Type | Method and Description |
---|---|
static int |
bigEndianToInt(byte[] bs,
int off) |
static void |
bigEndianToInt(byte[] bs,
int off,
int[] ns) |
static long |
bigEndianToLong(byte[] bs,
int off) |
static void |
intToBigEndian(int[] ns,
byte[] bs,
int off) |
static void |
intToBigEndian(int n,
byte[] bs,
int off) |
static void |
intToLittleEndian(int[] ns,
byte[] bs,
int off) |
static void |
intToLittleEndian(int n,
byte[] bs,
int off) |
static int |
littleEndianToInt(byte[] bs,
int off) |
static void |
littleEndianToInt(byte[] bs,
int off,
int[] ns) |
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 bigEndianToInt(byte[] bs, int off, int[] ns)
public static void intToBigEndian(int n, byte[] bs, int off)
public static void intToBigEndian(int[] ns, 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 littleEndianToInt(byte[] bs, int off, int[] ns)
public static void intToLittleEndian(int n, byte[] bs, int off)
public static void intToLittleEndian(int[] ns, byte[] bs, int off)
public static long littleEndianToLong(byte[] bs, int off)
public static void longToLittleEndian(long n, byte[] bs, int off)