T
- The type of the underlying buffer.public interface ReusableBuffer<T>
Modifier and Type | Method and Description |
---|---|
T |
getBuffer()
Get the buffer backing this ReusableBuffer.
|
long |
getLength()
Get the number of valid bytes in the data.
|
void |
set(ArrowBuf srcBytes,
long start,
long len)
Set the buffer to the contents of the given ArrowBuf.
|
long getLength()
T getBuffer()
void set(ArrowBuf srcBytes, long start, long len)
srcBytes
- the data to copy fromstart
- the first position of the new datalen
- the number of bytes of the new dataCopyright © 2024 The Apache Software Foundation. All rights reserved.