A memory reader pipe class that reads data from a memory buffer.
More...
#include <pipe.h>
|
| size_t | Size () const |
| | Gets the size of the memory buffer.
|
| |
| | CMemReaderPipe (const u8 *addr_, size_t bytesize_) |
| | Constructs a memory reader pipe.
|
| |
| bool | Push (const std::string &str_) |
| | Pushes a string of data into the pipe.
|
| |
| bool | Push (u8 x_) |
| | Pushes a byte of data into the pipe.
|
| |
| void | SeekPop (size_t offset_=0) |
| | Sets the position for the next Pop operation.
|
| |
| bool | Pop (u8 &x_) |
| | Pops a byte of data from the pipe.
|
| |
|
|
size_t | _pushed_in_bytes = 0 |
| |
|
size_t | _poped_in_bytes = 0 |
| |
A memory reader pipe class that reads data from a memory buffer.
◆ CMemReaderPipe()
| Pipe::CMemReaderPipe::CMemReaderPipe |
( |
const u8 * | addr_, |
|
|
size_t | bytesize_ ) |
|
inline |
Constructs a memory reader pipe.
- Parameters
-
| addr_ | The address of the memory buffer. |
| bytesize_ | The size of the memory buffer. |
◆ Size()
| size_t Pipe::CMemReaderPipe::Size |
( |
| ) |
const |
|
inline |
Gets the size of the memory buffer.
- Returns
- The size of the memory buffer.
The documentation for this class was generated from the following file: