Class RawData


  • public final class RawData
    extends Object
    A representation of some binary data with unknown semantics
    Author:
    arnej27959
    • Constructor Detail

      • RawData

        public RawData​(byte[] content)
        Constructor, takes ownership of the given byte array.
        Parameters:
        content - some bytes, handover
    • Method Detail

      • getInternalData

        public byte[] getInternalData()
        Returns the internal byte array containing the actual data received
      • toString

        public String toString()
        An ascii string; non-ascii data is escaped with hex notation. NB: not always uniquely reversible.
        Overrides:
        toString in class Object