C# Class ZXing.Aztec.Internal.Decoder

The main class which implements Aztec Code decoding -- as opposed to locating and extracting the Aztec Code from an image.
Mostrar archivo Open project: Redth/ZXing.Net.Mobile Class Usage Examples

Public Methods

Method Description
decode ( AztecDetectorResult detectorResult ) : ZXing.Common.DecoderResult

Decodes the specified detector result.

highLevelDecode ( bool correctedBits ) : String

Private Methods

Method Description
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

Method Details

decode() public method

Decodes the specified detector result.
public decode ( AztecDetectorResult detectorResult ) : ZXing.Common.DecoderResult
detectorResult AztecDetectorResult The detector result.
return ZXing.Common.DecoderResult

highLevelDecode() public static method

public static highLevelDecode ( bool correctedBits ) : String
correctedBits bool
return String