Example usage for Java org.apache.hadoop.record Buffer fields, constructors, methods, implement or subclass
The text is from its open source code.
Buffer(byte[] bytes) Create a Buffer using the byte array as the initial value. | |
Buffer(byte[] bytes, int offset, int length) Create a Buffer using the byte range as the initial value. | |
Buffer() Create a zero-count sequence. |
void | append(byte[] bytes) Append specified bytes to the buffer |
byte[] | get() Get the data from the Buffer. |
void | set(byte[] bytes) Use the specified bytes array as underlying sequence. |
void | setCapacity(int newCapacity) Change the capacity of the backing storage. |