TrinityCore
|
Wrapper of C file stream for input using fread(). More...
#include <filewritestream.h>
Public Types | |
typedef char | Ch |
Character type. Only support char. More... | |
Public Member Functions | |
FileWriteStream (std::FILE *fp, char *buffer, size_t bufferSize) | |
void | Put (char c) |
void | PutN (char c, size_t n) |
void | Flush () |
char | Peek () const |
char | Take () |
size_t | Tell () const |
char * | PutBegin () |
size_t | PutEnd (char *) |
Private Member Functions | |
FileWriteStream (const FileWriteStream &) | |
FileWriteStream & | operator= (const FileWriteStream &) |
Private Attributes | |
std::FILE * | fp_ |
char * | buffer_ |
char * | bufferEnd_ |
char * | current_ |
Wrapper of C file stream for input using fread().
typedef char FileWriteStream::Ch |
Character type. Only support char.
|
inline |
|
private |
|
inline |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |