A file pipe class that reads and writes data to a file.
More...
#include <pipe.h>
|
| CFilePipe (FILE *fp_) |
| Constructs a file 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 file pipe class that reads and writes data to a file.
◆ CFilePipe()
Pipe::CFilePipe::CFilePipe |
( |
FILE * | fp_ | ) |
|
|
inline |
Constructs a file pipe.
- Parameters
-
fp_ | The file pointer to use for reading and writing. |
The documentation for this class was generated from the following file: