- append8BitBytes
void append8BitBytes(string content, BitArray bits, string encoding)
Appends regular 8-bit bytes to a bit array.
- appendAlphanumericBytes
void appendAlphanumericBytes(string content, BitArray bits)
Appends alpha-numeric bytes to a bit array.
- appendBytes
void appendBytes(string content, Mode mode, BitArray bits, string encoding)
Appends bytes to a bit array in a specific mode.
- appendEci
void appendEci(CharacterSetEci eci, BitArray bits)
Appends ECI information to a bit array.
- appendKanjiBytes
void appendKanjiBytes(string content, BitArray bits)
Appends KANJI bytes to a bit array.
- appendLengthInfo
void appendLengthInfo(int numLetters, QrCodeVersion _version, Mode mode, BitArray bits)
Appends length information to a bit array.
- appendModeInfo
void appendModeInfo(Mode mode, BitArray bits)
Appends mode information to a bit array.
- appendNumericBytes
void appendNumericBytes(string content, BitArray bits)
Appends numeric bytes to a bit array.
- calculateMaskPenalty
int calculateMaskPenalty(ByteMatrix matrix)
Calculates the mask penalty for a matrix.
- chooseMaskPattern
int chooseMaskPattern(BitArray bits, ErrorCorrectionLevel ecLevel, QrCodeVersion _version, ByteMatrix matrix)
Chooses the best mask pattern for a matrix.
- chooseMode
Mode chooseMode(string content, string encoding)
Chooses the best mode for a given content.
- chooseVersion
QrCodeVersion chooseVersion(BitArrayBitType numInputBits, ErrorCorrectionLevel ecLevel)
Chooses the best version for the input.
- encode
QrCode encode(string content, ErrorCorrectionLevel ecLevel, string encoding)
Encodes "content" with the error correction level "ecLevel".
- generateEcBytes
int[] generateEcBytes(int[] dataBytes, int numEcBytesInBlock)
Generates EC bytes for given data.
- getAlphanumericCode
int getAlphanumericCode(int code)
Gets the alphanumeric code for a byte.
- getCodec
ReedSolomonCodec getCodec(int numDataBytes, int numEcBytesInBlock)
Gets an RS codec and caches it.
- getNumDataBytesAndNumEcBytesForBlockId
int[] getNumDataBytesAndNumEcBytesForBlockId(int numTotalBytes, int numDataBytes, int numRsBlocks, int blockId)
Gets number of data- and EC bytes for a block ID.
- interleaveWithEcBytes
BitArray interleaveWithEcBytes(BitArray bits, int numTotalBytes, int numDataBytes, int numRsBlocks)
Interleaves data with EC bytes.
- terminateBits
void terminateBits(int numDataBytes, BitArray bits)
Terminates the bits in a bit array.
Encoder.