@Namespace(value="arrow::io") @Properties(inherit=arrow.class) public class Writable extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Writable(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Status |
Flush()
\brief Flush buffered bytes, if any
|
Status |
Write(ArrowBuffer data)
\brief Write the given data to the stream
Since the Buffer owns its memory, this method can avoid a copy if
buffering is required.
|
Status |
Write(Pointer data,
long nbytes)
\brief Write the given data to the stream
This method always processes the bytes in full.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Writable(Pointer p)
Pointer(Pointer)
.@ByVal public Status Write(@Const Pointer data, @Cast(value="int64_t") long nbytes)
@ByVal public Status Write(@SharedPtr ArrowBuffer data)
Copyright © 2022. All rights reserved.