Packages that use BitArray
Package
Description
Common utilities and classes for ZXing barcode and QR code processing.
QR code encoding implementation for ZXing.
Uses of BitArray in com.google.zxing.common
Methods in com.google.zxing.common that return BitArrayModifier and TypeMethodDescriptionBitArray.clone()A copy of this array.A fast method to retrieve one row of data from the matrix as a BitArray.Methods in com.google.zxing.common with parameters of type BitArrayModifier and TypeMethodDescriptionvoidBitArray.appendBitArray(BitArray other) Appends another BitArray to the end of this array.A fast method to retrieve one row of data from the matrix as a BitArray.voidSets a row of the matrix from a BitArray.voidPerforms a bitwise XOR of this array with another.Uses of BitArray in com.google.zxing.qrcode.encoder
Methods in com.google.zxing.qrcode.encoder that return BitArrayModifier and TypeMethodDescription(package private) static BitArrayEncoder.interleaveWithECBytes(BitArray bits, int numTotalBytes, int numDataBytes, int numRSBlocks) Interleave "bits" with corresponding error correction bytes.Methods in com.google.zxing.qrcode.encoder with parameters of type BitArrayModifier and TypeMethodDescription(package private) static voidEncoder.append8BitBytes(String content, BitArray bits, String encoding) Append 8-bit byte mode bytes(package private) static voidEncoder.appendAlphanumericBytes(CharSequence content, BitArray bits) Append alphanumeric mode bytes(package private) static voidEncoder.appendBytes(String content, Mode mode, BitArray bits, String encoding) Append "bytes" in "mode" mode (encoding) into "bits".private static voidEncoder.appendECI(CharacterSetECI eci, BitArray bits) Appends the ECI header naming the character set.(package private) static voidEncoder.appendKanjiBytes(String content, BitArray bits) Append Kanji mode bytes(package private) static voidEncoder.appendLengthInfo(int numLetters, Version version, Mode mode, BitArray bits) Append length info.(package private) static voidEncoder.appendModeInfo(Mode mode, BitArray bits) Append mode info.(package private) static voidEncoder.appendNumericBytes(CharSequence content, BitArray bits) Append numeric mode bytes(package private) static voidMatrixUtil.buildMatrix(BitArray dataBits, ErrorCorrectionLevel ecLevel, Version version, int maskPattern, ByteMatrix matrix) Build the QR code matrixprivate static intEncoder.calculateBitsNeeded(Mode mode, BitArray headerBits, BitArray dataBits, Version version) Counts the bits needed to encode the content at a version.private static intEncoder.chooseMaskPattern(BitArray bits, ErrorCorrectionLevel ecLevel, Version version, ByteMatrix matrix) Picks the mask pattern with the lowest penalty.(package private) static voidMatrixUtil.embedDataBits(BitArray dataBits, int maskPattern, ByteMatrix matrix) Embed data bits into matrix(package private) static BitArrayEncoder.interleaveWithECBytes(BitArray bits, int numTotalBytes, int numDataBytes, int numRSBlocks) Interleave "bits" with corresponding error correction bytes.(package private) static voidMatrixUtil.makeTypeInfoBits(ErrorCorrectionLevel ecLevel, int maskPattern, BitArray bits) Make type information bit vector(package private) static voidMatrixUtil.makeVersionInfoBits(Version version, BitArray bits) Make version information bit vectorprivate static VersionEncoder.recommendVersion(ErrorCorrectionLevel ecLevel, Mode mode, BitArray headerBits, BitArray dataBits) Decides the smallest version of QR code that will contain all of the provided data.(package private) static voidEncoder.terminateBits(int numDataBytes, BitArray bits) Terminate bits as described in 8.4.8 and 8.4.9 of JISX0510:2004 (p.24).