bes  Updated for version 3.20.10
EncodedOutputStream< Encoding, OutputByteStream > Class Template Reference

Output byte stream wrapper with statically bound encoding. More...

#include <encodedstream.h>

Collaboration diagram for EncodedOutputStream< Encoding, OutputByteStream >:
Collaboration graph

Public Types

typedef Encoding::Ch Ch
 

Public Member Functions

 EncodedOutputStream (OutputByteStream &os, bool putBOM=true)
 
void Flush ()
 
Ch Peek () const
 
void Put (Ch c)
 
Ch * PutBegin ()
 
size_t PutEnd (Ch *)
 
Ch Take ()
 
size_t Tell () const
 

Detailed Description

template<typename Encoding, typename OutputByteStream>
class EncodedOutputStream< Encoding, OutputByteStream >

Output byte stream wrapper with statically bound encoding.

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

Definition at line 100 of file encodedstream.h.


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