com.develop.util
Class HexFormatter
java.lang.Object
com.develop.util.HexFormatter
- public class HexFormatter
- extends java.lang.Object
Helper class for doing hex dumps of arrays to String. Useful for debugging,
esp. on IDEs that are not hex-friendly.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hexchars
public static final char[] hexchars
printChars
public static final char[] printChars
HexFormatter
public HexFormatter()
convertBytesToString
public static java.lang.String convertBytesToString(byte[] bytes)
convertBytesToString
public static java.lang.String convertBytesToString(byte[] bytes,
int lineLength,
boolean showChars)
convertBytesToString
public static java.lang.String convertBytesToString(byte[] bytes,
int startOffset,
int endOffset,
int lineLength,
boolean showChars)
getHexString
public static char[] getHexString(byte b)
Composia Soft Ltd. Designed by Vitally Shelest. .