BinaryReaderReadBytes Method |
Reads the specified number of bytes from the current file into a byte array and
moves the file pointer forward by the number of bytes read.
Namespace: Crestron.SimplSharp.CrestronIOAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic virtual byte[] ReadBytes(
int numberOfBytesToRead
)
Parameters
- numberOfBytesToRead Int32
- The number of bytes to read.
Return Value
ByteA byte array containing the bytes read from the file.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also