parseInformation method

  1. @override
String parseInformation()
override

Implementation

@override
String parseInformation() {
  final buff = StringBuilder();

  buff.write('(01)');
  final initialGtinPosition = buff.length;
  final firstGtinDigit =
      generalDecoder.extractNumericValueFromBitArray(_headerSize, 4);
  buff.write(firstGtinDigit);

  encodeCompressedGtinWithoutAI(buff, _headerSize + 4, initialGtinPosition);

  return generalDecoder.decodeAllCodes(buff, _headerSize + 44);
}