Input byte stream wrapper with a statically bound encoding. More...
#include <encodedstream.h>
Public Types | |
typedef Encoding::Ch | Ch |
Public Member Functions | |
EncodedInputStream (InputByteStream &is) | |
Ch | Peek () const |
Ch | Take () |
size_t | Tell () const |
void | Put (Ch) |
void | Flush () |
Ch * | PutBegin () |
size_t | PutEnd (Ch *) |
Private Member Functions | |
RAPIDJSON_STATIC_ASSERT (sizeof(typename InputByteStream::Ch)==1) | |
EncodedInputStream (const EncodedInputStream &) | |
EncodedInputStream & | operator= (const EncodedInputStream &) |
Private Attributes | |
InputByteStream & | is_ |
Ch | current_ |
Input byte stream wrapper with a statically bound encoding.
Encoding | The interpretation of encoding of the stream. Either UTF8, UTF16LE, UTF16BE, UTF32LE, UTF32BE. |
InputByteStream | Type of input byte stream. For example, FileReadStream. |
Definition at line 39 of file encodedstream.h.
typedef Encoding::Ch EncodedInputStream< Encoding, InputByteStream >::Ch |
Definition at line 42 of file encodedstream.h.
|
inline |
Definition at line 44 of file encodedstream.h.
|
private |
|
inline |
Definition at line 54 of file encodedstream.h.
|
private |
|
inline |
Definition at line 48 of file encodedstream.h.
|
inline |
Definition at line 53 of file encodedstream.h.
|
inline |
Definition at line 55 of file encodedstream.h.
|
inline |
Definition at line 56 of file encodedstream.h.
|
private |
|
inline |
Definition at line 49 of file encodedstream.h.
|
inline |
Definition at line 50 of file encodedstream.h.
|
private |
Definition at line 63 of file encodedstream.h.
|
private |
Definition at line 62 of file encodedstream.h.