template <typename CharType, typename InputByteStream>

class AutoUTFInputStream

Defined at line 135 of file ../../third_party/rapidjson/include/rapidjson/encodedstream.h

Input stream wrapper with dynamically bound encoding and automatic encoding detection.

Template Parameters

CharType Type of character for reading.
InputByteStream type of input byte stream to be wrapped.

Public Methods

void AutoUTFInputStream<CharType, InputByteStream> (InputByteStream & is, UTFType type)

Constructor.

Parameters

is input stream to be wrapped.
type UTF encoding type if it is not detected from the stream.

Defined at line 145 of file ../../third_party/rapidjson/include/rapidjson/encodedstream.h

UTFType GetType ()

Defined at line 153 of file ../../third_party/rapidjson/include/rapidjson/encodedstream.h

bool HasBOM ()

Defined at line 154 of file ../../third_party/rapidjson/include/rapidjson/encodedstream.h

Ch Peek ()

Defined at line 156 of file ../../third_party/rapidjson/include/rapidjson/encodedstream.h

Ch Take ()

Defined at line 157 of file ../../third_party/rapidjson/include/rapidjson/encodedstream.h

size_t Tell ()

Defined at line 158 of file ../../third_party/rapidjson/include/rapidjson/encodedstream.h

void Put (Ch )

Not implemented

Defined at line 161 of file ../../third_party/rapidjson/include/rapidjson/encodedstream.h

void Flush ()

Defined at line 162 of file ../../third_party/rapidjson/include/rapidjson/encodedstream.h

Ch * PutBegin ()

Defined at line 163 of file ../../third_party/rapidjson/include/rapidjson/encodedstream.h

size_t PutEnd (Ch * )

Defined at line 164 of file ../../third_party/rapidjson/include/rapidjson/encodedstream.h