com.karmasphere.share.util
Class HexDumpUtil
java.lang.Object
com.karmasphere.share.util.HexDumpUtil
public class HexDumpUtil
- extends Object
Utility class to dump a byte array as hex into a string.
Format compatable with xxd
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HexDumpUtil
public HexDumpUtil()
dump
public static String dump(ByteBuffer buf)
dump
public static String dump(byte[] buf)
dump
public static void dump(InputStream in,
Writer out)
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
Copyright © 2004-2005 Karamsphere. All Rights Reserved.