Raw Code holder. More...
Public Member Functions | |
__construct (QRinput $input) | |
Raw Code holder Constructor. More... | |
init (array $spec) | |
Initializes Raw Code according to current code speciffication. More... | |
getCode () | |
Gets ECC code. More... | |
Public Attributes | |
$version | |
Integer code Version | |
$datacode = array() | |
Array data stream | |
$ecccode = array() | |
Array ECC Stream | |
$blocks | |
Integer RS Blocks count | |
$rsblocks = array() | |
Array of RSblock, ECC code blocks | |
$count | |
Integer position of currently processed ECC code | |
$dataLength | |
Integer data stream length | |
$eccLength | |
Integer ECC stream length | |
$b1 | |
Integer width of code in pixels, used as a modulo base for column overflow | |
Raw Code holder.
Contains encoded code data before there are spatialy distributed into frame and masked. Here goes dividing data into blocks and calculating ECC stream.
QRrawcode::__construct | ( | QRinput | $input) |
Raw Code holder Constructor.
QRinput | $input | input stream |
QRrawcode::getCode | ( | ) |
Gets ECC code.
QRrawcode::init | ( | array | $spec) |
Initializes Raw Code according to current code speciffication.
Array | $spec | code speciffigation, as provided by QRspec |