StreamReaderRead(Char, Int32, Int32) Method |
Reads a maximum of count characters from the current stream into buffer,
beginning at index.
Namespace: Crestron.SimplSharp.CrestronIOAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic override int Read(
char[] buffer,
int index,
int count
)
Parameters
- buffer Char
-
When this method returns, 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 index of buffer at which to begin writing.
- count Int32
-
The maximum number of characters to read.
Return Value
Int32
The number of characters that have been read, or 0 if at the end of the stream
and no data was read. The number will be less than or equal to the count
parameter, depending on whether the data is available within the stream.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also