TextEncoder
An abstraction representing various text encoders.
Maximum number of characters that this encoder can generate for each input character.
protected TextEncoder()
Encodes the supplied string and returns the encoded text as a new string.
Encodes the supplied string into a TextWriter.
Encodes a substring into a TextWriter.
Encodes characters from an array into a TextWriter.
Finds index of the first character that needs to be encoded.
public abstract bool TryEncodeUnicodeScalar(int unicodeScalar, Char* buffer, int bufferLength, out int numberOfCharactersWritten)
Encodes a Unicode scalar into a buffer.
Determines if a given Unicode scalar will be encoded.