Library of Assembled Shared Sources
|
Input Stream from a memory block. More...
#include <binary_i_memory_block.h>
Public Member Functions | |
BinaryIMemoryBlock () | |
Construct an "empty" closed stream. | |
BinaryIMemoryBlock (const void *begin, pos_type size) | |
Construct stream by pointer to memory block and length of block. | |
BinaryIMemoryBlock (const void *begin, const void *end) | |
Construct stream by pointer to memory block and to one byte past end of block. | |
size_t | read (void *out, size_t numberOfBytes) |
read a number of bytes from stream to buffer | |
Input Stream from a memory block.
Definition at line 68 of file binary_i_memory_block.h.
lass::io::BinaryIMemoryBlock::BinaryIMemoryBlock | ( | ) |
Construct an "empty" closed stream.
Definition at line 55 of file binary_i_memory_block.cpp.
|
inherited |
read a number of bytes from stream to buffer
iBytes | pointer to buffer. Must be able to contain at least numBytes bytes. |
numBytes | number of bytes to be read |
Definition at line 261 of file binary_i_stream.cpp.
References read().
Referenced by read().