#include <cfile.hpp>
Definition at line 225 of file cfile.hpp.
◆ cfile_datastream()
fc::cfile_datastream::cfile_datastream |
( |
cfile & | cf | ) |
|
|
inlineexplicit |
◆ get() [1/2]
bool fc::cfile_datastream::get |
( |
char & | c | ) |
|
|
inline |
Definition at line 241 of file cfile.hpp.
241{
return read(&c, 1); }
bool read(char *d, size_t s)
◆ get() [2/2]
bool fc::cfile_datastream::get |
( |
unsigned char & | c | ) |
|
|
inline |
Definition at line 239 of file cfile.hpp.
239{
return get( *(
char*)&c ); }
bool get(unsigned char &c)
◆ read()
bool fc::cfile_datastream::read |
( |
char * | d, |
|
|
size_t | s ) |
|
inline |
Definition at line 234 of file cfile.hpp.
234 {
236 return true;
237 }
void read(char *d, size_t n)
◆ skip()
void fc::cfile_datastream::skip |
( |
size_t | s | ) |
|
|
inline |
Definition at line 229 of file cfile.hpp.
229 {
230 std::vector<char>
d(
s );
232 }
◆ tellp()
size_t fc::cfile_datastream::tellp |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: