| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static long | Returns: The longThe bytes to interpret. bytes)Interpret the binary representation of a long. |
| public static long | Returns: The longThe bytes to interpret. bytes, int starting position in the source array. srcPos)Interpret the binary representation of a long. |
| public static byte[] | Returns: The binaryThe int to interpret to binary intValue)Interpret an int as its binary form |
| public static byte[] | Returns: The binaryThe long to interpret to binary longValue)Interpret a long as its binary form |
| public static void | fromLong(long
The long to interpret to binary longValue, byte[] the destination array. dest, int starting position in the destination array. destPos)Interpret a long as its binary form |
| public static byte[] | Returns: The binaryThe short to interpret to binary shortValue)Interpret a short as its binary form |
| public static String | |
| public static String | |
| public static String | |
| public static int | Returns: The generated int.The bytes to use in generating the int. bytes)Custom algorithm used to generate an |
| BytesHelper | back to summary |
|---|---|
| private BytesHelper() | |
| asLong | back to summary |
|---|---|
| public static long asLong(byte[] bytes) Interpret the binary representation of a long.
| |
| asLong | back to summary |
|---|---|
| public static long asLong(byte[] bytes, int srcPos) Interpret the binary representation of a long.
| |
| fromInt | back to summary |
|---|---|
| public static byte[] fromInt(int intValue) Interpret an int as its binary form
| |
| fromLong | back to summary |
|---|---|
| public static byte[] fromLong(long longValue) Interpret a long as its binary form
| |
| fromLong | back to summary |
|---|---|
| public static void fromLong(long longValue, byte[] dest, int destPos) Interpret a long as its binary form
| |
| fromShort | back to summary |
|---|---|
| public static byte[] fromShort(int shortValue) Interpret a short as its binary form
| |
| toBinaryString | back to summary |
|---|---|
| public static String toBinaryString(byte value) | |
| toBinaryString | back to summary |
|---|---|
| public static String toBinaryString(int value) | |
| toBinaryString | back to summary |
|---|---|
| public static String toBinaryString(long value) | |
| toInt | back to summary |
|---|---|
| public static int toInt(byte[] bytes) Custom algorithm used to generate an Implementation Note This is different to interpreting the incoming bytes as an
| |