Package com.yahoo.prelude.hitfield
Class RawData
java.lang.Object
com.yahoo.prelude.hitfield.RawData
A representation of some binary data with unknown semantics
- Author:
- arnej27959
-
Constructor Summary
ConstructorDescriptionRawData
(byte[] content) Constructor, takes ownership of the given byte array. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Returns the internal byte array containing the actual data receivedtoString()
An ascii string; non-ascii data is escaped with hex notation.
-
Constructor Details
-
RawData
public RawData(byte[] content) Constructor, takes ownership of the given byte array.- Parameters:
content
- some bytes, handover
-
-
Method Details