@Namespace(value="arrow::io") @Properties(inherit=arrow.class) public class InputStream extends FileInterface
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
InputStream(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
Advance(long nbytes)
\brief Advance or skip stream indicated number of bytes
|
Readable |
asReadable() |
static Readable |
asReadable(InputStream pointer) |
StringViewResult |
Peek(long nbytes)
\brief Return zero-copy string_view to upcoming bytes.
|
boolean |
supports_zero_copy()
\brief Return true if InputStream is capable of zero copy Buffer reads
Zero copy reads imply the use of Buffer-returning Read() overloads.
|
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 InputStream(Pointer p)
Pointer(Pointer).public Readable asReadable()
@Namespace @Name(value="static_cast<arrow::io::Readable*>") public static Readable asReadable(InputStream pointer)
@ByVal public Status Advance(@Cast(value="int64_t") long nbytes)
nbytes - [in] the number to move forward@ByVal public StringViewResult Peek(@Cast(value="int64_t") long nbytes)
nbytes - [in] the maximum number of bytes to seeCopyright © 2021. All rights reserved.