clear method

void clear()

Implementation

void clear() {
  resetPosition();
  _byteBuffer = Uint8List(0);
}