@Namespace(value="arrow::io") @Properties(inherit=arrow.class) public class Readable extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
Readable(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IOContext |
io_context()
EXPERIMENTAL: The IOContext associated with this file.
|
BufferResult |
Read(long nbytes)
\brief Read data from current file position.
|
LongResult |
Read(long nbytes,
Pointer out)
\brief Read data from current file position.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic Readable(Pointer p)
Pointer(Pointer).@ByVal public LongResult Read(@Cast(value="int64_t") long nbytes, Pointer out)
nbytes from the current file position into out.
The number of bytes read is returned.@ByVal public BufferResult Read(@Cast(value="int64_t") long nbytes)
nbytes from the current file position. Less bytes may
be read if EOF is reached. This method updates the current file position.
In some cases (e.g. a memory-mapped file), this method may avoid a
memory copy.Copyright © 2021. All rights reserved.