| Modifier and Type | Field and Description |
|---|---|
| private static final char[] | DIGITS_LOWER
Used to build output as hex. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | encodeHex(final byte[]
a byte[] to convert to hex characters data, final int the position in dataOffset, final int data to start encoding fromthe number of bytes from dataLen, final char[] dataOffset to encodethe output alphabet (must contain at least 16 chars) toDigits, final char[] a char[] which will hold the resultant appropriate characters from the alphabet. out, final int the position within outOffset)out at which to start writing the encoded characters.Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order. |
| public static String |
| DIGITS_LOWER | back to summary |
|---|---|
| private static final char[] DIGITS_LOWER Used to build output as hex. | |
| Hex | back to summary |
|---|---|
| private Hex() | |
| encodeHex | back to summary |
|---|---|
| private static void encodeHex(final byte[] data, final int dataOffset, final int dataLen, final char[] toDigits, final char[] out, final int outOffset) Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order.
| |
| encodeHexString | back to summary |
|---|---|
| public static String encodeHexString(final byte[] bytes) | |