text: import AI01decoder from './AI01decoder';
  import StringBuilder from '../../../../util/StringBuilder';
  export default class AI01AndOtherAIs extends AI01decoder {
      // the second one is the encodation method, and the other two are for the variable length
      constructor(information) {
          super(information);
      }
      parseInformation() {
          const buff = new StringBuilder();
          buff.append('(01)');
          const initialGtinPosition = buff.length();
          const firstGtinDigit = this.getGeneralDecoder().extractNumericValueFromBitArray(AI01AndOtherAIs.HEADER_SIZE, 4);
          buff.append(firstGtinDigit);
          this.encodeCompressedGtinWithoutAI(buff, AI01AndOtherAIs.HEADER_SIZE + 4, initialGtinPosition);
          return this.getGeneralDecoder().decodeAllCodes(buff, AI01AndOtherAIs.HEADER_SIZE + 44);
      }
  }
  AI01AndOtherAIs.HEADER_SIZE = 1 + 1 + 2; // first bit encodes the linkage flag,
  //# sourceMappingURL=AI01AndOtherAIs.js.map