PeterO.Text.ICharacterInput

## PeterO.Text.ICharacterInput

public interface ICharacterInput

An interface for reading Unicode code points from a data source.

Member Summary

### Read

int Read(
    int[] chars,
    int index,
    int length);

Reads a sequence of Unicode code points from a data source.

Parameters:

Return Value:

Either a Unicode code point (from 0-0xd7ff or from 0xe000 to 0x10ffff), or the value -1 indicating the end of the source.

Exceptions:

### ReadChar

int ReadChar();

Reads a Unicode code point from a data source.

Return Value:

Either a Unicode code point (from 0-0xd7ff or from 0xe000 to 0x10ffff), or the value -1 indicating the end of the source.

Back to Encoding start page.