Creates a new Bytebuffer from a subset of the provided byte array

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

Syntax

Visual Basic
Public Sub New ( _
	bytes As Byte(), _
	offset As Integer, _
	length As Integer _
)
C#
public ByteBuffer(
	byte[] bytes,
	int offset,
	int length
)
Visual C++
public:
ByteBuffer(
	array<unsigned char>^ bytes, 
	int offset, 
	int length
)

Parameters

bytes
Type: array<System..::..Byte>[]()[][]
The byte array
offset
Type: System..::..Int32
The starting index
length
Type: System..::..Int32
The number of bytes to copy into the ByteBuffer

See Also