clear method
void
clear()
Clears this buffer.
The position is set to zero, the limit is set to the capacity, and the mark is discarded.
Implementation
void clear() {
_clearId(this, const JObjectType(), []).release();
}