Click or drag to resize

FileStreamRead Method

Read bytes from a stream in to the specified buffer.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public override int Read(
	byte[] buffer,
	int offset,
	int count
)

Parameters

buffer  Byte
Buffer to contain the data to be read off the stream. (offset to ((offset + count) -1)
offset  Int32
Byte offset in the array to start copying the data read off the stream.
count  Int32
Maximum number of bytes to read.

Return Value

Int32
Int with the number of bytes read off the stream.
Exceptions

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also