Helper class to maintain a read position whilst extracting data from an IByteChunk
More...
#include <IPlugStructs.h>
| IByteChunkReader::IByteChunkReader |
( |
const IByteChunk & |
chunk, |
|
|
int |
startPos = 0 |
|
) |
| |
|
inline |
◆ Get()
template<class T >
| int IByteChunkReader::Get |
( |
T * |
pDst | ) |
|
|
inline |
Copy arbitary typed data out of the managed IByteChunk at the current position and update the position.
- Template Parameters
-
| T | type of the variable to get |
- Parameters
-
| pDst | Pointer to the destination where the value will be stored |
- Returns
- int Next read position in the IByteChunk
Definition at line 355 of file IPlugStructs.h.
References IByteChunk::Get().
◆ GetBytes()
| int IByteChunkReader::GetBytes |
( |
void * |
pBuf, |
|
|
int |
nBytesToCopy |
|
) |
| |
|
inline |
◆ GetStr()
| int IByteChunkReader::GetStr |
( |
WDL_String & |
str | ) |
|
|
inline |
◆ Seek()
| void IByteChunkReader::Seek |
( |
int |
pos | ) |
|
|
inline |
◆ Tell()
| int IByteChunkReader::Tell |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: