- <init>
Create a BytesWritable using the byte array as the initial value and length as
the length. Use this
- getBytes
Get the data backing the BytesWritable. Please use #copyBytes()if you need the
returned array to be
- getLength
Get the current size of the buffer.
- set
Set the value to a copy of the given byte range
- copyBytes
Get a copy of the bytes that is exactly the length of the data. See #getBytes()
for faster access to
- setSize
Change the size of the buffer. The values in the old range are preserved and any
new values are unde
- readFields
- write
- setCapacity
Change the capacity of the backing storage. The data is preserved.
- getCapacity
Get the capacity, which is the maximum size that could handled without resizing
the backing storage.
- get
Get the data from the BytesWritable.
- toString
Generate the stream of bytes as hex pairs separated by ' '.