\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

$FORMAT_INFO_DECODE_LOOKUP

$FORMAT_INFO_DECODE_LOOKUP

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

$BITS_SET_IN_HALF_BYTE

$BITS_SET_IN_HALF_BYTE

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

$errorCorrectionLevel

$errorCorrectionLevel

$dataMask

$dataMask

Methods

Init()

Init() : mixed

Returns

mixed —

decodeFormatInformation()

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

Parameters

mixed $maskedFormatInfo1
mixed $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(mixed  $a, mixed  $b) : mixed

Parameters

mixed $a
mixed $b

Returns

mixed —

getErrorCorrectionLevel()

getErrorCorrectionLevel() : mixed

Returns

mixed —

getDataMask()

getDataMask() : mixed

Returns

mixed —

hashCode()

hashCode() : mixed

Returns

mixed —

equals()

equals(mixed  $o) : mixed

Parameters

mixed $o

Returns

mixed —

__construct()

__construct(mixed  $formatInfo) : mixed

Parameters

mixed $formatInfo

Returns

mixed —

doDecodeFormatInformation()

doDecodeFormatInformation(mixed  $maskedFormatInfo1, mixed  $maskedFormatInfo2) : mixed

Parameters

mixed $maskedFormatInfo1
mixed $maskedFormatInfo2

Returns

mixed —