Class BinaryHprof


  • public final class BinaryHprof
    extends Object
    Hprof binary format related constants shared between the BinaryHprofReader and BinaryHprofWriter.
    • Field Detail

      • ID_SIZE

        public static final int ID_SIZE
        Currently code only supports 4 byte id size.
        See Also:
        Constant Field Values
    • Constructor Detail

      • BinaryHprof

        public BinaryHprof()
    • Method Detail

      • readMagic

        public static final String readMagic​(DataInputStream in)
        Returns the file's magic value as a String if found, otherwise null.