reverse method

void reverse()

Implementation

void reverse() {
  _initBuffer();
  super.clear();
  super.writeAll(_buffer!.split('').reversed);
  _buffer = null;
}