BinaryReader: ReadChars

ReadChars

Returns a specified number of characters decoded from the stream.

 Public Function ReadChars(
	  ByVal Count As Long ) As Integer ( )

Parameters

Count
[ByVal] Long. The number of characters to decode from the stream.

Return Values

Integer() -  The array of characters decoded from the stream.

Remarks

If not enough characters could be decoded from the stream, then only the remaining characters are returned. If no characters could be decoded, then an empty array is returned, not a null array.

See Also

Project VBCorLib Overview | Class BinaryReader Overview