TextEncoder
The base class of web encoders.
Gets the maximum number of characters that this encoder can generate for each input code point.
protected TextEncoder()
Initializes a new instance of the TextEncoder class.
Encodes the supplied string and returns the encoded text as a new string.
Encodes the specified string to a TextWriter object.
Encodes a substring and writes it to a TextWriter object.
Encodes characters from an array and writes them to a TextWriter object.
Finds the index of the first character to encode.
public abstract bool TryEncodeUnicodeScalar(int unicodeScalar, Char* buffer, int bufferLength, out int numberOfCharactersWritten)
Encodes a Unicode scalar value and writes it to a buffer.
Determines if a given Unicode scalar value will be encoded.