Method Clear
Clear()
Clears this buffer.
While the content of this buffer is not changed, the following internal changes take place: the current position is reset back to the start of the buffer, the value of the buffer limit is made equal to the capacity and mark is cleared.
Declaration
public Buffer Clear()
Returns
Type | Description |
---|---|
Buffer | This buffer |