java.lang.Object
io.Bytes
public final class Bytes extends Object
-
Method Summary
Modifier and Type Method Description static intmakeIntB(byte b0, byte b1, byte b2, byte b3)static intmakeIntL(byte b0, byte b1, byte b2, byte b3)static longmakeLongB(byte b0, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7)static longmakeLongL(byte b0, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7)static shortmakeShortB(byte b0, byte b1)static shortmakeShortL(byte b0, byte b1)static intreverse(int n)static longreverse(long n)static shortreverse(short n)
-
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)
-