@Namespace(value="arrow::io") @NoOffset @Properties(inherit=arrow.class) public class BufferedInputStream extends BufferedInputStreamConcurrencyWrapper
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
BufferedInputStream(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
buffer_size()
\brief Return the current size of the internal buffer
|
long |
bytes_buffered()
\brief Return the number of remaining bytes in the read buffer
|
boolean |
closed()
\brief Return whether the stream is closed
|
static BufferedInputStreamResult |
Create(long buffer_size,
MemoryPool pool,
InputStream raw) |
static BufferedInputStreamResult |
Create(long buffer_size,
MemoryPool pool,
InputStream raw,
long raw_read_bound)
\brief Create a BufferedInputStream from a raw InputStream
|
InputStream |
Detach()
\brief Release the raw InputStream.
|
InputStream |
raw()
\brief Return the unbuffered InputStream
|
Status |
SetBufferSize(long new_buffer_size)
\brief Resize internal read buffer; calls to Read(...) will read at least
|
Abort, Close, Peek, Read, Read, TellAdvance, asReadable, asReadable, supports_zero_copymodeaddress, 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, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic BufferedInputStream(Pointer p)
Pointer(Pointer).@ByVal public static BufferedInputStreamResult Create(@Cast(value="int64_t") long buffer_size, MemoryPool pool, @SharedPtr InputStream raw, @Cast(value="int64_t") long raw_read_bound)
buffer_size - [in] the size of the temporary read bufferpool - [in] a MemoryPool to use for allocationsraw - [in] a raw InputStreamraw_read_bound - [in] a bound on the maximum number of bytes
to read from the raw input stream. The default -1 indicates that
it is unbounded@ByVal public static BufferedInputStreamResult Create(@Cast(value="int64_t") long buffer_size, MemoryPool pool, @SharedPtr InputStream raw)
@ByVal public Status SetBufferSize(@Cast(value="int64_t") long new_buffer_size)
new_buffer_size - [in] the new read buffer size@Cast(value="int64_t") public long bytes_buffered()
@Cast(value="int64_t") public long buffer_size()
@SharedPtr public InputStream Detach()
@SharedPtr public InputStream raw()
@Cast(value="bool") public boolean closed()
FileInterfaceclosed in class FileInterfaceCopyright © 2021. All rights reserved.