StreamReaderReadBlock Method |
Reads a maximum of count characters from the current stream, and writes the
data to buffer, beginning at index.
Namespace: Crestron.SimplSharp.CrestronIOAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic override int ReadBlock(
char[] buffer,
int index,
int count
)
Parameters
- buffer Char
-
When this method returns, this parameter contains the specified character
array with the values between index and (index + count -1) replaced by the
characters read from the current source.
- index Int32
-
The place in buffer at which to begin writing.
- count Int32
-
The maximum number of characters to read.
Return Value
Int32
The position of the underlying stream is advanced by the number of characters
that were read into buffer.The number of characters that have been read.
The number will be less than or equal to count, depending on whether all
input characters have been read.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also