\Zxing\Qrcode\DecoderMode

<p>See ISO 18004:2006, 6.4.1, Tables 2 and 3. This enum encapsulates the various modes in which data can be encoded to bits in the QR code standard.</p>

Summary

Methods
Properties
Constants
__construct()
Init()
forBits()
getCharacterCountBits()
getBits()
$TERMINATOR
$NUMERIC
$ALPHANUMERIC
$STRUCTURED_APPEND
$BYTE
$ECI
$KANJI
$FNC1_FIRST_POSITION
$FNC1_SECOND_POSITION
$HANZI
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$characterCountBitsForVersions
$bits
N/A

Properties

$TERMINATOR

$TERMINATOR

$NUMERIC

$NUMERIC

$ALPHANUMERIC

$ALPHANUMERIC

$STRUCTURED_APPEND

$STRUCTURED_APPEND

$BYTE

$BYTE

$ECI

$ECI

$KANJI

$KANJI

$FNC1_FIRST_POSITION

$FNC1_FIRST_POSITION

$FNC1_SECOND_POSITION

$FNC1_SECOND_POSITION

$HANZI

$HANZI

$characterCountBitsForVersions

$characterCountBitsForVersions

$bits

$bits

Methods

__construct()

__construct(mixed  $characterCountBitsForVersions, mixed  $bits) : mixed

Parameters

mixed $characterCountBitsForVersions
mixed $bits

Returns

mixed —

Init()

Init() : mixed

Returns

mixed —

forBits()

forBits(mixed  $bits) : \Zxing\Qrcode\Decoder\Mode

Parameters

mixed $bits

Throws

\Zxing\Qrcode\Decoder\InvalidArgumentException

if bits do not correspond to a known mode

Returns

\Zxing\Qrcode\Decoder\Mode —

encoded by these bits

getCharacterCountBits()

getCharacterCountBits(mixed  $version) : \Zxing\Qrcode\Decoder\number

Parameters

mixed $version

Returns

\Zxing\Qrcode\Decoder\number —

of bits used, in this QR Code symbol {@link Version}, to encode the count of characters that will follow encoded in this Mode

getBits()

getBits() : mixed

Returns

mixed —