StringReader: ReadBlock

ReadBlock

Fills an array with a block of characters from the string.



 Public Function ReadBlock(
	  ByRef Buffer ( ) As Integer,
	  ByVal Index As Long,
	  ByVal Count As Long ) As Long

Parameters

Buffer
[ByRef] Integer. The array to receive the characters read from the string.
Index
[ByVal] Long. The starting index in Chars to begin writing.
Count
[ByVal] Long. The maximum number of characters to be read from the string.

Return Values

Long -  The actual number of characters read from the string.

Remarks

If not enough characters exist to fill Count characters, then fewer characters will be returned than Count.

See Also

Project CorLib Overview

Class StringReader Overview