Class QrCodeDecoderBits


public class QrCodeDecoderBits
extends Object
After the data bits have been read this will decode them and extract a meaningful message.
  • Constructor Details

    • QrCodeDecoderBits

      public QrCodeDecoderBits​(@Nullable @Nullable String forceEncoding)
      forceEncoding - If null then the default byte encoding is used. If not null then the specified encoding is used.
  • Method Details

    • applyErrorCorrection

      public boolean applyErrorCorrection​(QrCode qr)
      Reconstruct the data while applying error correction.
    • decodeMessage

      public boolean decodeMessage​(QrCode qr)
    • alignToBytes

      public static int alignToBytes​(int lengthBits)