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 short |
littleEndianToShort(byte[] bs,
int off) |
static byte[] |
longToBigEndian(long[] ns) |
static void |
longToBigEndian(long[] ns,
byte[] bs,
int off) |
static void |
longToBigEndian(long n,
byte[] bs,
int off) |
public static int bigEndianToInt(byte[] bs, int off)
public static long bigEndianToLong(byte[] bs, int off)
public static void longToBigEndian(long n, byte[] bs, int off)
public static byte[] longToBigEndian(long[] ns)
public static void longToBigEndian(long[] ns, byte[] bs, int off)
public static short littleEndianToShort(byte[] bs, int off)
public static void intToBigEndian(int n, byte[] bs, int off)
Copyright © 2019–2024. All rights reserved.