UnicodeStream Description struct CodeX.UnicodeStream → <TInput val : ICharSetTrait> → <TOutput val : ICharSetTrait> A stream that converts code units between encodings. Public / Methods Input 2 overloads public method Input1 → (1) codeUnit in : int32 The input code unit or negative to flush. Adds an input code unit. public method Input2 → (2) codeUnits in : string The UTF-16 code unit sequence. index in : int32 Index into codeUnits in. Adds a UTF-16 code unit. If codeUnits in is null or index in is out of range, the stream will be flushed. Output public method Output → () returns → int32 The output code unit or -1 if none. Fetches an output code unit. Reset public method Reset → () Resets the stream state. Public / Attributes BytesPerInputCodeUnit public attribute BytesPerInputCodeUnit → (get) value : int32 The number of bytes per input code unit, see ICharSetTrait.BytesPerCodeUnit. Returns the number of bytes per input code unit. BytesPerOutputCodeUnit public attribute BytesPerOutputCodeUnit → (get) value : int32 The number of bytes per output code unit, see ICharSetTrait.BytesPerCodeUnit. Returns the number of bytes per output code unit. Unicode UsedImplicitlyAttribute