Method | Description | |
---|---|---|
Dispose ( ) : void | ||
Read ( ) : |
Read a single character. This method will block until a character is available, an I/O error occurs, or the end of the stream is reached. Subclasses that intend to support efficient single-character input should override this method.
|
|
Read ( char buffer, int offset, int length ) : int |
Read characters into a portion of an array. This method will block until some input is available, an I/O error occurs, or the end of the stream is reached.
|
|
Reset ( ) : void | ||
Skip ( long charsToSkip ) : long |
Skip characters. This method will block until some characters are available, an I/O error occurs, or the end of the stream is reached.
|
|
Utf8CharScanner ( |
||
Utf8CharScanner ( |
||
Utf8CharScanner ( |
Method | Description | |
---|---|---|
GetCurrentPosition ( int index ) : long | ||
ReadFourByteChar ( int index, int byteZero ) : char? | ||
ReadThreeByteChar ( int index, int byteZero ) : char? | ||
ReadTwoByteChar ( int index, int byteZero ) : char? | ||
ThrowExpectedByteException ( int position, int count ) : void |
Throws an exception for expected byte.
|
|
ThrowInvalidByteException ( int position, int count, int c ) : void |
Throws an exception for invalid byte.
|
|
ThrowInvalidSurrogateException ( int uuuuu ) : void |
Throws an exception for invalid surrogate bits.
|
public Read ( char buffer, int offset, int length ) : int | ||
buffer | char | Destination buffer |
offset | int | Offset at which to start storing characters |
length | int | Maximum number of characters to read |
return | int |
public Skip ( long charsToSkip ) : long | ||
charsToSkip | long | The number of characters to skip |
return | long |
public Utf8CharScanner ( |
||
inputStream | ||
return | System.IO |
public Utf8CharScanner ( |
||
inputStream | ||
buffer | byte | |
return | System.IO |
public Utf8CharScanner ( |
||
inputStream | ||
size | int | |
return | System.IO |