C# Класс ZXing.Aztec.Internal.Decoder

The main class which implements Aztec Code decoding -- as opposed to locating and extracting the Aztec Code from an image.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
decode ( AztecDetectorResult detectorResult ) : ZXing.Common.DecoderResult

Decodes the specified detector result.

highLevelDecode ( bool correctedBits ) : String

Приватные методы

Метод Описание
convertBoolArrayToByteArray ( bool boolArr ) : byte[]

Packs a bit array into bytes, most significant bit first

correctBits ( bool rawbits ) : bool[]

Performs RS error correction on an array of bits.

extractBits ( BitMatrix matrix ) : bool[]

Gets the array of bits from an Aztec Code matrix

getCharacter ( String table, int code ) : String

Gets the character (or string) corresponding to the passed code in the given table

getEncodedData ( bool correctedBits ) : String

Gets the string encoded in the aztec code bits

getTable ( char t ) : Table

gets the table corresponding to the char passed

readByte ( bool rawbits, int startIndex ) : byte

Reads a code of length 8 in an array of bits, padding with zeros

readCode ( bool rawbits, int startIndex, int length ) : int

Reads a code of given length and at given index in an array of bits

totalBitsInLayer ( int layers, bool compact ) : int

Описание методов

decode() публичный Метод

Decodes the specified detector result.
public decode ( AztecDetectorResult detectorResult ) : ZXing.Common.DecoderResult
detectorResult AztecDetectorResult The detector result.
Результат ZXing.Common.DecoderResult

highLevelDecode() публичный статический Метод

public static highLevelDecode ( bool correctedBits ) : String
correctedBits bool
Результат String