TextReaderRead(Char, Int32, Int32) 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 abstract 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 place in buffer at which to begin writing.
- count Int32
-
The maximum number of characters to read. If the end of the stream is reached
before count of characters is read into buffer, the current method returns.
Return Value
Int32
The number of characters that have been read. The number will be less than
or equal to count, depending on whether the data is available within the
stream. This method returns zero if called when no more characters are left
to read.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also