public class ArrowBuffer extends Object implements FBSerializable
| Constructor and Description |
|---|
ArrowBuffer(long offset,
long size)
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getOffset() |
long |
getSize() |
int |
hashCode() |
String |
toString() |
int |
writeTo(com.google.flatbuffers.FlatBufferBuilder builder)
Returns the number of bytes taken to serialize the data in builder after writing to it.
|
public ArrowBuffer(long offset,
long size)
offset - The offset to the start of the buffer in the channel.size - The size of the buffer.public long getOffset()
public long getSize()
public int writeTo(com.google.flatbuffers.FlatBufferBuilder builder)
FBSerializablewriteTo in interface FBSerializableCopyright © 2024 The Apache Software Foundation. All rights reserved.