webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Output stream wrapper with dynamically bound encoding and automatic encoding detection. More...
#include <encodedstream.h>
Public Types | |
typedef CharType | Ch |
Public Member Functions | |
AutoUTFOutputStream (OutputByteStream &os, UTFType type, bool putBOM) | |
Constructor. More... | |
UTFType | GetType () const |
void | Put (Ch c) |
void | Flush () |
Ch | Peek () const |
Ch | Take () |
size_t | Tell () const |
Ch * | PutBegin () |
size_t | PutEnd (Ch *) |
Output stream wrapper with dynamically bound encoding and automatic encoding detection.
CharType | Type of character for writing. |
InputByteStream | type of output byte stream to be wrapped. |
typedef CharType AutoUTFOutputStream< CharType, OutputByteStream >::Ch |
|
inline |
Constructor.
os | output stream to be wrapped. |
type | UTF encoding type. |
putBOM | Whether to write BOM at the beginning of the stream. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |