Java org.apache.hadoop.record Buffer fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.record Buffer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.record Buffer.

The text is from its open source code.

Constructor

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.

Method

voidappend(byte[] bytes)
Append specified bytes to the buffer
byte[]get()
Get the data from the Buffer.
voidset(byte[] bytes)
Use the specified bytes array as underlying sequence.
voidsetCapacity(int newCapacity)
Change the capacity of the backing storage.