Torque3D Documentation / _generateds / EncodedOutputStream

EncodedOutputStream

Engine/source/persistence/rapidjson/encodedstream.h

Output byte stream wrapper with statically bound encoding.

More...

Public Types

Encoding::Ch
Ch 

Private Attributes

OutputByteStream &

Public Functions

EncodedOutputStream(OutputByteStream & os, bool putBOM)
Peek()
Put(Ch c)
size_t
PutEnd(Ch * )
Take()
size_t
Tell()

Detailed Description

Output byte stream wrapper with statically bound encoding.

Parameters:

Encoding

The interpretation of encoding of the stream. Either UTF8, UTF16LE, UTF16BE, UTF32LE, UTF32BE.

OutputByteStream

Type of input byte stream. For example, FileWriteStream.

Public Types

typedef Encoding::Ch Ch 

Private Attributes

OutputByteStream & os_ 

Private Functions

EncodedOutputStream(const EncodedOutputStream & )

operator=(const EncodedOutputStream & )

RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputByteStream::Ch) )

Public Functions

EncodedOutputStream(OutputByteStream & os, bool putBOM)

Flush()

Peek()

Put(Ch c)

PutBegin()

PutEnd(Ch * )

Take()

Tell()