webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Input stream wrapper with dynamically bound encoding and automatic encoding detection. More...
#include <encodedstream.h>
Public Types | |
typedef CharType | Ch |
Public Member Functions | |
AutoUTFInputStream (InputByteStream &is, UTFType type=kUTF8) | |
Constructor. More... | |
UTFType | GetType () const |
bool | HasBOM () const |
Ch | Peek () const |
Ch | Take () |
size_t | Tell () const |
void | Put (Ch) |
void | Flush () |
Ch * | PutBegin () |
size_t | PutEnd (Ch *) |
Input stream wrapper with dynamically bound encoding and automatic encoding detection.
CharType | Type of character for reading. |
InputByteStream | type of input byte stream to be wrapped. |
typedef CharType AutoUTFInputStream< CharType, InputByteStream >::Ch |
|
inline |
Constructor.
is | input stream to be wrapped. |
type | UTF encoding type if it is not detected from the stream. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |