#include <ReadOnlyMemoryStream.h>
Inherits IBStream.
|
| char const * | getData () const |
| | returns the current memory size (how many chars can be read until the end) More...
|
| |
| TSize | getMemorySize () const |
| |
| TSize | getSize () const |
| |
| int64 | pos () const |
| | returns the total size of the memory More...
|
| |
| virtual tresult PLUGIN_API | read (void *buffer, int32 numBytes, int32 *numBytesRead) SMTG_OVERRIDE |
| |
| | ReadOnlyMemoryStream (char const *iMemory, TSize iMemorySize) |
| | Constructor. More...
|
| |
| virtual tresult PLUGIN_API | seek (int64 pos, int32 mode, int64 *result) SMTG_OVERRIDE |
| |
| virtual tresult PLUGIN_API | tell (int64 *pos) SMTG_OVERRIDE |
| |
| virtual tresult PLUGIN_API | write (void *buffer, int32 numBytes, int32 *numBytesWritten) SMTG_OVERRIDE |
| |
| virtual | ~ReadOnlyMemoryStream ()=default |
| |
◆ ReadOnlyMemoryStream()
◆ ~ReadOnlyMemoryStream()
◆ getData()
| char const* getData |
( |
| ) |
const |
|
inline |
returns the current memory size (how many chars can be read until the end)
◆ getMemorySize()
| TSize getMemorySize |
( |
| ) |
const |
|
inline |
◆ getSize()
◆ pos()
returns the total size of the memory
◆ read()
| tresult read |
( |
void * |
buffer, |
|
|
int32 |
numBytes, |
|
|
int32 * |
numBytesRead |
|
) |
| |
|
virtual |
◆ seek()
| tresult seek |
( |
int64 |
pos, |
|
|
int32 |
mode, |
|
|
int64 * |
result |
|
) |
| |
|
virtual |
◆ tell()
| tresult tell |
( |
int64 * |
pos | ) |
|
|
virtual |
◆ write()
| tresult write |
( |
void * |
buffer, |
|
|
int32 |
numBytes, |
|
|
int32 * |
numBytesWritten |
|
) |
| |
|
virtual |
◆ fMemory
◆ fMemorySize
◆ fPos
The documentation for this class was generated from the following files: