Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 655 Bytes

MemoryInputStream.md

File metadata and controls

34 lines (20 loc) · 655 Bytes

MemoryInputStream

class MemoryInputStream

Inherited from: InputStream.

Required header: <Eclog/MemoryInputStream.h>

The MemoryInputStream class warps a memory buffer as an InputStream.

Member functions

Name Description
(constructor) Constructor.

(constructor)

explicit MemoryInputStream(const void* data, size_t size);

Constructs a MemoryInputStream.

Parameters

const void* data Pointer to the memory buffer.

size_t size Size of the memory buffer in bytes.