Save This Page
Home » openjdk-7 » sun » misc » [javadoc | source]
sun.misc
public class: HexDumpEncoder [javadoc | source]
java.lang.Object
   sun.misc.CharacterEncoder
      sun.misc.HexDumpEncoder
This class encodes a buffer into the classic: "Hexadecimal Dump" format of the past. It is useful for analyzing the contents of binary buffers. The format produced is as follows:
xxxx: 00 11 22 33 44 55 66 77   88 99 aa bb cc dd ee ff ................
Where xxxx is the offset into the buffer in 16 byte chunks, followed by ascii coded hexadecimal bytes followed by the ASCII representation of the bytes or '.' if they are not valid bytes.
Fields inherited from sun.misc.CharacterEncoder:
pStream
Method from sun.misc.HexDumpEncoder Summary:
bytesPerAtom,   bytesPerLine,   encodeAtom,   encodeBufferPrefix,   encodeLinePrefix,   encodeLineSuffix,   hexDigit
Methods from sun.misc.CharacterEncoder:
bytesPerAtom,   bytesPerLine,   encode,   encode,   encode,   encode,   encode,   encodeAtom,   encodeBuffer,   encodeBuffer,   encodeBuffer,   encodeBuffer,   encodeBuffer,   encodeBufferPrefix,   encodeBufferSuffix,   encodeLinePrefix,   encodeLineSuffix,   readFully
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.misc.HexDumpEncoder Detail:
 protected int bytesPerAtom() 
 protected int bytesPerLine() 
 protected  void encodeAtom(OutputStream o,
    byte[] buf,
    int off,
    int len) throws IOException 
 protected  void encodeBufferPrefix(OutputStream o) throws IOException 
 protected  void encodeLinePrefix(OutputStream o,
    int len) throws IOException 
 protected  void encodeLineSuffix(OutputStream o) throws IOException 
 static  void hexDigit(PrintStream p,
    byte x)