rapidjson::EncodedInputStream< Encoding, InputByteStream > Class Template Reference

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 c)
 
void Flush ()
 
Ch * PutBegin ()
 
size_t PutEnd (Ch *)
 

Private Member Functions

 RAPIDJSON_STATIC_ASSERT (sizeof(typename InputByteStream::Ch)==1)
 
EncodedInputStreamoperator= (const EncodedInputStream &)
 

Private Attributes

InputByteStream & is_
 
Ch current_
 

Detailed Description

template<typename Encoding, typename InputByteStream>
class rapidjson::EncodedInputStream< Encoding, InputByteStream >

Input byte stream wrapper with a statically bound encoding.

Template Parameters
EncodingThe interpretation of encoding of the stream. Either UTF8, UTF16LE, UTF16BE, UTF32LE, UTF32BE.
InputByteStreamType of input byte stream. For example, FileReadStream.

The documentation for this class was generated from the following file:
  • /home/travis/build/urho3d/Urho3D/Source/ThirdParty/rapidjson/include/rapidjson/encodedstream.h