@Namespace(value="cv") @Properties(inherit=opencv_videoio.class) public class IStreamReader extends Pointer
\} videoio_flags_others
/** \brief Read data stream interface
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
IStreamReader(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
read(byte[] buffer,
long size) |
long |
read(ByteBuffer buffer,
long size) |
long |
read(BytePointer buffer,
long size)
\brief Read bytes from stream
|
long |
seek(long offset,
int origin)
\brief Sets the stream position
|
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, trimMemory, withDeallocator, zeropublic IStreamReader(Pointer p)
Pointer(Pointer).public long read(@Cast(value="char*") BytePointer buffer, long size)
buffer - already allocated buffer of at least \p size bytessize - maximum number of bytes to readpublic long read(@Cast(value="char*") ByteBuffer buffer, long size)
public long seek(long offset,
int origin)
offset - Seek offsetorigin - SEEK_SET / SEEK_END / SEEK_CURfseekCopyright © 2026. All rights reserved.