reset method

void reset()

Clear the buffer and reset text styles

Implementation

void reset() {
  bytes += cInit.codeUnits;
  _styles = PosStyles();
  setGlobalCodeTable(_codeTable);
  setGlobalFont(_font);
}