\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 : 

Type

$NUMERIC

$NUMERIC : 

Type

$ALPHANUMERIC

$ALPHANUMERIC : 

Type

$STRUCTURED_APPEND

$STRUCTURED_APPEND : 

Type

$BYTE

$BYTE : 

Type

$ECI

$ECI : 

Type

$KANJI

$KANJI : 

Type

$FNC1_FIRST_POSITION

$FNC1_FIRST_POSITION : 

Type

$FNC1_SECOND_POSITION

$FNC1_SECOND_POSITION : 

Type

$HANZI

$HANZI : 

Type

$characterCountBitsForVersions

$characterCountBitsForVersions : 

Type

$bits

$bits : 

Type

Methods

__construct()

__construct(  $characterCountBitsForVersions,   $bits) 

Parameters

$characterCountBitsForVersions
$bits

Init()

Init() 

forBits()

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

Parameters

$bits

Throws

\Zxing\Qrcode\Decoder\IllegalArgumentException

if bits do not correspond to a known mode

Returns

\Zxing\Qrcode\Decoder\Mode

encoded by these bits

getCharacterCountBits()

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

Parameters

$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()