Reads a block of bytes from the file stream.

Namespace: Composite.Core.IO.Plugins.IOProvider
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
int Read(
	byte[] array,
	int offset,
	int count
)
Visual Basic
Function Read ( _
	array As Byte(), _
	offset As Integer, _
	count As Integer _
) As Integer
Visual C++
int Read(
	array<unsigned char>^ array, 
	int offset, 
	int count
)

Parameters

array
Type: array<System..::..Byte>[]()[][]
Target buffer of read bytes.
offset
Type: System..::..Int32
Offset in the buffer to put read bytes.
count
Type: System..::..Int32
Number of bytes to read.

Return Value

Number of bytes read.

See Also