java.lang.Object
com.google.flatbuffers.Struct
org.apache.arrow.flatbuf.Buffer
public final class Buffer
extends com.google.flatbuffers.Struct
----------------------------------------------------------------------
 A Buffer represents a single contiguous memory segment
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from class com.google.flatbuffers.Structbb, bb_pos
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription__assign(int _i, ByteBuffer _bb) void__init(int _i, ByteBuffer _bb) static intcreateBuffer(com.google.flatbuffers.FlatBufferBuilder builder, long offset, long length) longlength()The absolute length (in bytes) of the memory buffer.longoffset()The relative offset into the shared memory page where the bytes for this buffer startsMethods inherited from class com.google.flatbuffers.Struct__reset, __reset
- 
Constructor Details- 
Bufferpublic Buffer()
 
- 
- 
Method Details- 
__init
- 
__assign
- 
offsetpublic long offset()The relative offset into the shared memory page where the bytes for this buffer starts
- 
lengthpublic long length()The absolute length (in bytes) of the memory buffer. The memory is found from offset (inclusive) to offset + length (non-inclusive). When building messages using the encapsulated IPC message, padding bytes may be written after a buffer, but such padding bytes do not need to be accounted for in the size here.
- 
createBufferpublic static int createBuffer(com.google.flatbuffers.FlatBufferBuilder builder, long offset, long length) 
 
-