DecoderResult
in package
Encapsulates the result of decoding a matrix of bits. This typically applies to 2D barcode formats. For now, it contains the raw bytes obtained as well as a String interpretation of those bytes, if applicable.
Table of Contents
- $data : string
- $eccLevel : EccLevel
- $maskPattern : MaskPattern
- $rawBytes : BitBuffer
- $structuredAppendParity : int
- $structuredAppendSequence : int
- $version : Version
- $data : string
- $eccLevel : EccLevel
- $maskPattern : MaskPattern
- $rawBytes : BitBuffer
- $structuredAppendParity : int
- $structuredAppendSequence : int
- $version : Version
- __construct() : mixed
- DecoderResult constructor.
- __get() : mixed|null
- __toString() : string
- getMatrix() : QRMatrix
- Returns a QRMatrix instance with thesettings and data of the reader result
- hasStructuredAppend() : bool
Properties
$data
public
string
$data
$eccLevel
public
EccLevel
$eccLevel
$maskPattern
public
MaskPattern
$maskPattern
$rawBytes
public
BitBuffer
$rawBytes
$structuredAppendParity
public
int
$structuredAppendParity
$structuredAppendSequence
public
int
$structuredAppendSequence
$version
public
Version
$version
$data
private
string
$data
= ''
$eccLevel
private
EccLevel
$eccLevel
$maskPattern
private
MaskPattern
$maskPattern
$rawBytes
private
BitBuffer
$rawBytes
$structuredAppendParity
private
int
$structuredAppendParity
= -1
$structuredAppendSequence
private
int
$structuredAppendSequence
= -1
$version
private
Version
$version
Methods
__construct()
DecoderResult constructor.
public
__construct([iteratable<string|int, mixed> $properties = null ]) : mixed
Parameters
- $properties : iteratable<string|int, mixed> = null
Return values
mixed —__get()
public
__get(string $property) : mixed|null
Parameters
- $property : string
Return values
mixed|null —__toString()
public
__toString() : string
Return values
string —getMatrix()
Returns a QRMatrix instance with thesettings and data of the reader result
public
getMatrix() : QRMatrix
Return values
QRMatrix —hasStructuredAppend()
public
hasStructuredAppend() : bool