Class Bytes
java.lang.Object
io.Bytes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static inti(byte b) (package private) static longl(byte b) 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)
-
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)
-