UnicodeEncoding: GetEncoder

GetEncoder

Returns an encoder that maintains state.



 Public Function GetEncoder ( ) As Encoder

Return Values

Encoder -  The stateful encoder.

Remarks

Since encoding Unicode characters equates to exactly 2 bytes per character, there is no state that is maintained between calls. This method functions identically to GetBytes.

See Also

Project CorLib Overview

Class UnicodeEncoding Overview