Qyoto
4.0.5
Qyoto is a C# language binding for Qt
|
The QTextEncoder class provides a state-based encoder. More...
Public Member Functions | |
QTextEncoder (QTextCodec codec) | |
| |
QTextEncoder (QTextCodec codec, QTextCodec.ConversionFlag flags) | |
| |
virtual void | CreateProxy () |
new QByteArray | FromUnicode (QChar uc, int len) |
| |
new QByteArray | FromUnicode (string str) |
| |
new bool | HasFailure () |
new void | Dispose () |
Protected Member Functions | |
QTextEncoder (System.Type dummy) | |
Protected Attributes | |
SmokeInvocation | interceptor |
Properties | |
virtual System.IntPtr | SmokeObject [get, set] |
The QTextEncoder class provides a state-based encoder.
A text encoder converts text from Unicode into an encoded text format using a specific codec.
The encoder converts Unicode into another format, remembering any state that is required between calls.
See also QTextCodec::makeEncoder() and QTextDecoder.
|
protected |
QtCore.QTextEncoder.QTextEncoder | ( | QTextCodec | codec | ) |
Constructs a text encoder for the given codec.
QtCore.QTextEncoder.QTextEncoder | ( | QTextCodec | codec, |
QTextCodec.ConversionFlag | flags | ||
) |
Constructs a text encoder for the given codec.
|
virtual |
new void QtCore.QTextEncoder.Dispose | ( | ) |
new QByteArray QtCore.QTextEncoder.FromUnicode | ( | QChar | uc, |
int | len | ||
) |
This is an overloaded function.
Converts len characters (not bytes) from uc, and returns the result in a QByteArray.
new QByteArray QtCore.QTextEncoder.FromUnicode | ( | string | str | ) |
Converts the Unicode string str into an encoded QByteArray.
new bool QtCore.QTextEncoder.HasFailure | ( | ) |
|
protected |
|
getset |