reset method

List<int> reset()

Clear the buffer and reset text styles

Implementation

List<int> reset() {
  List<int> bytes = [];
  bytes += cInit.codeUnits;
  _styles = PosStyles();
  bytes += setGlobalCodeTable(_codeTable);
  bytes += setGlobalFont(_font);
  return bytes;
}