class MemoryInputStream
Inherited from: InputStream.
Required header: <Eclog/MemoryInputStream.h>
The MemoryInputStream class warps a memory buffer as an InputStream.
Name | Description |
---|---|
(constructor) | Constructor. |
explicit MemoryInputStream(const void* data, size_t size);
Constructs a MemoryInputStream.
const void*
data Pointer to the memory buffer.
size_t
size Size of the memory buffer in bytes.