| Modifier and Type | Field and Description |
|---|---|
| private static final char[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static String | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static String | |
| public static String | |
| public static String | Returns: stringbuffer _buf)Returns a string which can be written to a Java source file as part of a static initializer for a byte array. |
| public static String | Returns: stringbuffer _buf, int offset _ofs, int length _len)Returns a string which can be written to a Java source file as part of a static initializer for a byte array. |
| public static String | |
| public static String | |
| public static String |
| HEX_CHARS | back to summary |
|---|---|
| private static final char[] HEX_CHARS | |
| Hexdump | back to summary |
|---|---|
| private Hexdump() | |
| format | back to summary |
|---|---|
| public static String format(byte[] _buf) | |
| format | back to summary |
|---|---|
| public static String format(byte[] _buf, int _width) | |
| back to summary | |
|---|---|
| public static void print(byte[] _buf) | |
| back to summary | |
|---|---|
| public static void print(byte[] _buf, int _width) | |
| back to summary | |
|---|---|
| public static void print(byte[] _buf, int _width, PrintStream _out) | |
| back to summary | |
|---|---|
| public static void print(byte[] _buf, PrintStream _out) | |
| toAscii | back to summary |
|---|---|
| public static String toAscii(byte[] _buf) | |
| toAscii | back to summary |
|---|---|
| public static String toAscii(byte[] _buf, int _ofs, int _len) | |
| toByteArray | back to summary |
|---|---|
| public static String toByteArray(byte[] _buf) Returns a string which can be written to a Java source file as part of a static initializer for a byte array. Returns data in the format 0xAB, 0xCD, .... use like: javafile.print("byte[] data = {") javafile.print(Hexdump.toByteArray(data)); javafile.println("};"); * @param buf
| |
| toByteArray | back to summary |
|---|---|
| public static String toByteArray(byte[] _buf, int _ofs, int _len) Returns a string which can be written to a Java source file as part of a static initializer for a byte array. Returns data in the format 0xAB, 0xCD, .... use like: javafile.print("byte[] data = {") javafile.print(Hexdump.toByteArray(data)); javafile.println("};");
| |
| toHex | back to summary |
|---|---|
| public static String toHex(byte[] _buf) | |
| toHex | back to summary |
|---|---|
| public static String toHex(byte[] _buf, boolean _spaces) | |
| toHex | back to summary |
|---|---|
| public static String toHex(byte[] _buf, int _ofs, int _len, boolean _spaces) | |