java.lang.Object
io.Bytes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static int
i
(byte b) (package private) static long
l
(byte b) static int
makeIntB
(byte b0, byte b1, byte b2, byte b3) static int
makeIntL
(byte b0, byte b1, byte b2, byte b3) static long
makeLongB
(byte b0, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7) static long
makeLongL
(byte b0, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7) static short
makeShortB
(byte b0, byte b1) static short
makeShortL
(byte b0, byte b1) static int
reverse
(int n) static long
reverse
(long n) static short
reverse
(short n)
-
Constructor Details
-
Bytes
private Bytes()
-
-
Method Details
-
reverse
public static short reverse(short n) -
reverse
public static int reverse(int n) -
reverse
public static long reverse(long n) -
makeShortB
public static short makeShortB(byte b0, byte b1) -
makeIntB
public static int makeIntB(byte b0, byte b1, byte b2, byte b3) -
makeLongB
public static long makeLongB(byte b0, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7) -
makeShortL
public static short makeShortL(byte b0, byte b1) -
makeIntL
public static int makeIntL(byte b0, byte b1, byte b2, byte b3) -
makeLongL
public static long makeLongL(byte b0, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7) -
l
static long l(byte b) -
i
static int i(byte b)
-