Reads specified number of bytes to the target array

Namespace:  Kaazing.HTML5
Assembly:  Kaazing.Gateway (in Kaazing.Gateway.dll)

Syntax

Visual Basic
Public Function GetBytes ( _
	buffer As Byte(), _
	offset As Integer, _
	length As Integer _
) As Integer
C#
public int GetBytes(
	byte[] buffer,
	int offset,
	int length
)
Visual C++
public:
int GetBytes(
	array<unsigned char>^ buffer, 
	int offset, 
	int length
)

Parameters

buffer
Type: array<System..::..Byte>[]()[][]
The target buffer
offset
Type: System..::..Int32
The offset in the buffer
length
Type: System..::..Int32
The number of bytes to read

Return Value

The single byte

See Also