Class DecodedBitStreamParser

java.lang.Object
com.google.zxing.maxicode.decoder.DecodedBitStreamParser

final class DecodedBitStreamParser extends Object

MaxiCodes can encode text or structured information as bits in one of several modes, with multiple character sets in one code. This class decodes the bits back into text.

  • Field Details

  • Constructor Details

    • DecodedBitStreamParser

      private DecodedBitStreamParser()
  • Method Details

    • decode

      static DecoderResult decode(byte[] bytes, int mode) throws FormatException
      Throws:
      FormatException
    • getBit

      private static int getBit(int bit, byte[] bytes)
    • getInt

      private static int getInt(byte[] bytes, byte[] x)
    • getCountry

      private static int getCountry(byte[] bytes)
    • getServiceClass

      private static int getServiceClass(byte[] bytes)
    • getPostCode2Length

      private static int getPostCode2Length(byte[] bytes)
    • getPostCode2

      private static int getPostCode2(byte[] bytes)
    • getPostCode3

      private static String getPostCode3(byte[] bytes)
    • getMessage

      private static String getMessage(byte[] bytes, int start, int len)