Package com.yahoo.prelude.hitfield
Class RawData
- java.lang.Object
-
- com.yahoo.prelude.hitfield.RawData
-
public final class RawData extends java.lang.Object
A representation of some binary data with unknown semantics- Author:
- arnej27959
-
-
Constructor Summary
Constructors Constructor Description RawData(byte[] content)
Constructor, takes ownership of the given byte array.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getInternalData()
Returns the internal byte array containing the actual data receivedjava.lang.String
toString()
An ascii string; non-ascii data is escaped with hex notation.
-
-
-
Method Detail
-
getInternalData
public byte[] getInternalData()
Returns the internal byte array containing the actual data received
-
toString
public java.lang.String toString()
An ascii string; non-ascii data is escaped with hex notation. NB: not always uniquely reversible.- Overrides:
toString
in classjava.lang.Object
-
-