Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | List of all members
FileWriteStream Class Reference

Wrapper of C file stream for input using fread(). More...

`#include <filewritestream.h>`

Inheritance diagram for FileWriteStream:

## Public Types
typedef char | Ch
| Character type. Only support char. More...

## Public Member Functions
| FileWriteStream (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 *)

## Detailed Description

Wrapper of C file stream for input using fread().

## Member Typedef Documentation

typedef char Ch

Character type. Only support char.

## Constructor & Destructor Documentation

FileWriteStream | ( | FILE * | fp,
|  | char * | buffer,
|  | size_t | bufferSize
| ) |  |
| inline

## Member Function Documentation

void Flush | ( |  | ) |
| inline

char Peek | ( |  | ) | const
| inline

void Put | ( | char | c | ) |
| inline

char* PutBegin | ( |  | ) |
| inline

size_t PutEnd | ( | char * |  | ) |
| inline

void PutN | ( | char | c,
|  | size_t | n
| ) |  |
| inline

char Take | ( |  | ) |
| inline

size_t Tell | ( |  | ) | const
| inline

The documentation for this class was generated from the following file:

- persistence/rapidjson/include/rapidjson/filewritestream.h