decodeText method

String decodeText(
  1. Uint8List bytes
)

Text matching a content string.

Implementation

String decodeText(Uint8List bytes) {
  final buffer = StringBuffer();
  for (final glyph in decode(bytes)) {
    buffer.write(glyph.text);
  }
  return buffer.toString();
}