Puts a byte array into the buffer at the current position

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

Syntax

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

Parameters

bytes
Type: array<System..::..Byte>[]()[][]
The byte array
offset
Type: System..::..Int32
Offset in the byte array
length
Type: System..::..Int32
Number of bytes to copy

Return Value

The buffer

See Also