- <init>
Construct a HeapDataOutputStream which uses the byte array provided as its
underlying ByteBuffer fro
- toByteArray
gets the contents of this stream as a byte[]. The stream should not be written
to past this point un
- size
- write
override OutputStream's write()
- disallowExpansion
- expand
- sendTo
Write the contents of this stream to the given byte array.
- writeInt
Writes an int value, which is comprised of four bytes, to the output stream. The
byte values to be w
- clearForReuse
Clear the contents for reuse of this HeapDataOutputStream.
- close
- getInputStream
Returns an input stream that can be used to read the contents that where written
to this output stre
- toByteBuffer
gets the contents of this stream as s ByteBuffer, ready for reading. The stream
should not be writte