Expands the buffer to support the expected number of remaining bytes after the current position.

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

Syntax

Visual Basic
Public Function Expand ( _
	expectedRemaining As Integer _
) As ByteBuffer
C#
public ByteBuffer Expand(
	int expectedRemaining
)
Visual C++
public:
ByteBuffer^ Expand(
	int expectedRemaining
)

Parameters

expectedRemaining
Type: System..::..Int32
The expected number of remaining bytes

Return Value

The buffer

See Also