textEncoded method

void textEncoded(
  1. Uint8List textBytes, {
  2. PosStyles styles = const PosStyles(),
  3. int linesAfter = 0,
  4. int? maxCharsPerLine,
})

Implementation

void textEncoded(
  Uint8List textBytes, {
  PosStyles styles = const PosStyles(),
  int linesAfter = 0,
  int? maxCharsPerLine,
}) {
  _socket.add(_generator.textEncoded(
    textBytes,
    styles: styles,
    linesAfter: linesAfter,
    maxCharsPerLine: maxCharsPerLine,
  ));
}