Expands the buffer to support the expected number of remaining bytes
after the specified index.
Namespace:
Kaazing.HTML5Assembly: Kaazing.Gateway (in Kaazing.Gateway.dll)
Syntax
Visual Basic |
---|
Public Function ExpandAt ( _ i As Integer, _ expectedRemaining As Integer _ ) As ByteBuffer |
C# |
---|
public ByteBuffer ExpandAt( int i, int expectedRemaining ) |
Visual C++ |
---|
public: ByteBuffer^ ExpandAt( int i, int expectedRemaining ) |
Parameters
- i
- Type: System..::..Int32
The index
- expectedRemaining
- Type: System..::..Int32
The expected number of remaining bytes