It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Class EncodingMode


Extended by Com\Tecnick\Barcode\Type\Square\QrCode\InputItem
Extended by Com\Tecnick\Barcode\Type\Square\QrCode\EncodingMode
Namespace: Com\Tecnick\Barcode\Type\Square\QrCode
Package: Barcode
Category: Library
Copyright: 2010-2016 Nicola Asuni - LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni [email protected]
Since: 2015-02-21
Located at Type/Square/QrCode/EncodingMode.php
Methods summary
public integer
# getEncodingMode( string $data, integer $pos )

Get the encoding mode to use

protected integer
# getEncodingModeKj( string $data, integer $pos )

Get the encoding mode for KJ or 8B

public boolean
# isDigitAt( string $str, integer $pos )

Return true if the character at specified position is a number

public boolean
# isAlphanumericAt( string $str, integer $pos )

Return true if the character at specified position is an alphanumeric character

public value
# lookAnTable( integer $chr )

Look up the alphabet-numeric conversion table (see JIS X0510:2004, pp.19)

public integer
# getLengthIndicator( integer $mode, integer $version,… )

Return the size of length indicator for the mode and version

protected array
# appendBitstream( array $bitstream, array $append )

Append one bitstream to another

protected array
# appendNum( array $bitstream, integer $bits, integer $num )

Append one bitstream created from number to another

protected array
# appendBytes( array $bitstream, integer $size, array $data )

Append one bitstream created from bytes to another

protected array
# newFromNum( integer $bits, integer $num )

Return new bitstream from number

protected array
# newFromBytes( integer $size, array $data )

Return new bitstream from bytes

protected array
# allocate( integer $setLength )

Return an array with zeros

Methods inherited from Com\Tecnick\Barcode\Type\Square\QrCode\InputItem
appendNewInputItem(), check(), checkModeAn(), checkModeKanji(), checkModeNum(), newInputItem()
Methods inherited from Com\Tecnick\Barcode\Type\Square\QrCode\Estimate
estimateBitStreamSize(), estimateBitsMode8(), estimateBitsModeAn(), estimateBitsModeKanji(), estimateBitsModeNum(), estimateVersion(), getMinimumVersion()

? 2004-2019 – Nicola Asuni - - All rights reserved.
about - disclaimer - privacy