Compacts the buffer by removing leading bytes up to the
buffer position and decrements the limit and position
values accordingly.
Namespace:
Kaazing.HTML5Assembly: Kaazing.Gateway (in Kaazing.Gateway.dll)
Syntax
Visual Basic |
---|
Public Function Compact As ByteBuffer |
C# |
---|
public ByteBuffer Compact() |
Visual C++ |
---|
public: ByteBuffer^ Compact() |