| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final Charset |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static void | dump(final byte[]
the byte array to be dumped data, final long its offset, whatever that might mean offset, final OutputStream the OutputStream to which the data is to be
written stream, final int initial index into the byte array index, final int number of characters to output length)dump an array of bytes to an OutputStream |
| public static synchronized void | dump(final byte[]
the byte array to be dumped data, final long its offset, whatever that might mean offset, final OutputStream the OutputStream to which the data is to be
written stream, final int initial index into the byte array index)dump an array of bytes to an OutputStream |
| public static String | Returns: output stringthe byte array to be dumped data, final long its offset, whatever that might mean offset, final int initial index into the byte array index)dump an array of bytes to a String |
| public static String | Returns: output stringthe byte array to be dumped data, final long its offset, whatever that might mean offset, final int initial index into the byte array index, final int number of characters to output length)dump an array of bytes to a String |
| public static String | |
| public static String | |
| public static String | |
| public static char | |
| public static String | Returns: A String representing the array of bytesThe value to convert value)Converts the parameter to a hex value. |
| public static String | Returns: The result right padded with 0The value to convert value)Converts the parameter to a hex value. |
| public static String | Returns: The result right padded with 0The value to convert value)Converts the parameter to a hex value. |
| public static String | Returns: The result right padded with 0The value to convert value)Converts the parameter to a hex value. |
| public static String | Returns: The result right padded with 0The value to convert value)Converts the parameter to a hex value. |
| private static void |
| EOL | back to summary |
|---|---|
| public static final String EOL | |
| UTF8 | back to summary |
|---|---|
| public static final Charset UTF8 | |
| HexDump | back to summary |
|---|---|
| private HexDump() | |
| byteToHex | back to summary |
|---|---|
public static String byteToHex(int value)
| |
| dump | back to summary |
|---|---|
| public static void dump(final byte[] data, final long offset, final OutputStream stream, final int index, final int length) throws IOException, ArrayIndexOutOfBoundsException, IllegalArgumentException dump an array of bytes to an OutputStream
| |
| dump | back to summary |
|---|---|
| public static synchronized void dump(final byte[] data, final long offset, final OutputStream stream, final int index) throws IOException, ArrayIndexOutOfBoundsException, IllegalArgumentException dump an array of bytes to an OutputStream
| |
| dump | back to summary |
|---|---|
| public static String dump(final byte[] data, final long offset, final int index) dump an array of bytes to a String
| |
| dump | back to summary |
|---|---|
| public static String dump(final byte[] data, final long offset, final int index, final int length) dump an array of bytes to a String
| |
| intToHex | back to summary |
|---|---|
public static String intToHex(int value)
| |
| longToHex | back to summary |
|---|---|
public static String longToHex(long value)
| |
| shortToHex | back to summary |
|---|---|
public static String shortToHex(int value)
| |
| toAscii | back to summary |
|---|---|
| public static char toAscii(int dataB) | |
| toHex | back to summary |
|---|---|
| public static String toHex(final byte[] value) Converts the parameter to a hex value.
| |
| toHex | back to summary |
|---|---|
| public static String toHex(short value) Converts the parameter to a hex value.
| |
| toHex | back to summary |
|---|---|
| public static String toHex(byte value) Converts the parameter to a hex value.
| |
| toHex | back to summary |
|---|---|
| public static String toHex(int value) Converts the parameter to a hex value.
| |
| toHex | back to summary |
|---|---|
| public static String toHex(long value) Converts the parameter to a hex value.
| |
| writeHex | back to summary |
|---|---|
| private static void writeHex(StringBuilder sb, long value, int nDigits, String prefix) | |