public final class Buffer
extends com.google.flatbuffers.Struct
Modifier and Type | Class and Description |
---|---|
static class |
Buffer.Vector |
Constructor and Description |
---|
Buffer() |
Modifier and Type | Method and Description |
---|---|
Buffer |
__assign(int _i,
ByteBuffer _bb) |
void |
__init(int _i,
ByteBuffer _bb) |
static int |
createBuffer(com.google.flatbuffers.FlatBufferBuilder builder,
long offset,
long length) |
long |
length()
The absolute length (in bytes) of the memory buffer.
|
long |
offset()
The relative offset into the shared memory page where the bytes for this
buffer starts
|
public void __init(int _i, ByteBuffer _bb)
public Buffer __assign(int _i, ByteBuffer _bb)
public long offset()
public long length()
public static int createBuffer(com.google.flatbuffers.FlatBufferBuilder builder, long offset, long length)
Copyright © 2023 The Apache Software Foundation. All rights reserved.