\Zxing\Qrcode\DecoderFormatInformation

<p>Encapsulates a QR Code's format information, including the data mask used and error correction level.</p>

Summary

Methods
Properties
Constants
Init()
decodeFormatInformation()
numBitsDiffering()
getErrorCorrectionLevel()
getDataMask()
hashCode()
equals()
$FORMAT_INFO_MASK_QR
$FORMAT_INFO_DECODE_LOOKUP
No constants found
No protected methods found
No protected properties found
N/A
__construct()
doDecodeFormatInformation()
$BITS_SET_IN_HALF_BYTE
$errorCorrectionLevel
$dataMask
N/A

Properties

$FORMAT_INFO_MASK_QR

$FORMAT_INFO_MASK_QR : 

Type

$FORMAT_INFO_DECODE_LOOKUP

$FORMAT_INFO_DECODE_LOOKUP : 

See ISO 18004:2006, Annex C, Table C.1

Type

$BITS_SET_IN_HALF_BYTE

$BITS_SET_IN_HALF_BYTE : 

Offset i holds the number of 1 bits in the binary representation of i

Type

$errorCorrectionLevel

$errorCorrectionLevel : 

Type

$dataMask

$dataMask : 

Type

Methods

Init()

Init() 

decodeFormatInformation()

decodeFormatInformation(  $maskedFormatInfo1,   $maskedFormatInfo2) : \Zxing\Qrcode\Decoder\information

Parameters

$maskedFormatInfo1
$maskedFormatInfo2

Returns

\Zxing\Qrcode\Decoder\information —

about the format it specifies, or {@code null} if doesn't seem to match any known pattern

numBitsDiffering()

numBitsDiffering(  $a,   $b) 

Parameters

$a
$b

getErrorCorrectionLevel()

getErrorCorrectionLevel() 

getDataMask()

getDataMask() 

hashCode()

hashCode() 

equals()

equals(  $o) 

Parameters

$o

__construct()

__construct(  $formatInfo) 

Parameters

$formatInfo

doDecodeFormatInformation()

doDecodeFormatInformation(  $maskedFormatInfo1,   $maskedFormatInfo2) 

Parameters

$maskedFormatInfo1
$maskedFormatInfo2