rewind method

void rewind()

Rewinds this buffer.

The position is set to zero and the mark is discarded.

Implementation

void rewind() {
  _rewindId(this, const JObjectType(), []).release();
}