encodeCompressedGtin method

void encodeCompressedGtin(
  1. StringBuilder buf,
  2. int currentPos
)

Implementation

void encodeCompressedGtin(StringBuilder buf, int currentPos) {
  buf.write('(01)');
  final initialPosition = buf.length;
  buf.write('9');

  encodeCompressedGtinWithoutAI(buf, currentPos, initialPosition);
}