File byte stream for input using fread().
More...
#include <filereadstream.h>
|
typedef char | Ch |
| Character type (byte). More...
|
|
File byte stream for input using fread().
- Note
- implements Stream concept
Definition at line 34 of file filereadstream.h.
◆ Ch
◆ FileReadStream()
FileReadStream::FileReadStream |
( |
std::FILE * |
fp, |
|
|
char * |
buffer, |
|
|
size_t |
bufferSize |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
fp | File pointer opened for read. |
buffer | user-supplied buffer. |
bufferSize | size of buffer in bytes. Must >=4 bytes. |
Definition at line 44 of file filereadstream.h.
◆ Flush()
void FileReadStream::Flush |
( |
| ) |
|
|
inline |
◆ Peek()
Ch FileReadStream::Peek |
( |
| ) |
const |
|
inline |
◆ Peek4()
const Ch* FileReadStream::Peek4 |
( |
| ) |
const |
|
inline |
◆ Put()
void FileReadStream::Put |
( |
Ch |
| ) |
|
|
inline |
◆ PutBegin()
Ch* FileReadStream::PutBegin |
( |
| ) |
|
|
inline |
◆ PutEnd()
size_t FileReadStream::PutEnd |
( |
Ch * |
| ) |
|
|
inline |
◆ Take()
Ch FileReadStream::Take |
( |
| ) |
|
|
inline |
◆ Tell()
size_t FileReadStream::Tell |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: