SLIOStream implementation for reading to memory.
More...
#include <SLIOMemory.h>
SLIOStream implementation for reading to memory.
Definition at line 42 of file SLIOMemory.h.
◆ SLIOWriterMemory()
SLIOWriterMemory::SLIOWriterMemory |
( |
std::string |
path | ) |
|
Definition at line 81 of file SLIOMemory.cpp.
std::unordered_map< std::string, std::vector< char > > memoryFiles
◆ flush()
void SLIOWriterMemory::flush |
( |
| ) |
|
|
virtual |
◆ seek()
bool SLIOWriterMemory::seek |
( |
size_t |
offset, |
|
|
Origin |
origin |
|
) |
| |
|
virtual |
◆ tell()
size_t SLIOWriterMemory::tell |
( |
| ) |
|
|
virtual |
◆ write()
size_t SLIOWriterMemory::write |
( |
const void * |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
virtual |
Reimplemented from SLIOStream.
Definition at line 88 of file SLIOMemory.cpp.
91 memoryFile.insert(memoryFile.end(), (
char*)buffer, (
char*)buffer +
size);
◆ _path
std::string SLIOWriterMemory::_path |
|
protected |
◆ _position
size_t SLIOWriterMemory::_position |
|
protected |
The documentation for this class was generated from the following files: