DecoderResult
in package
FinalYes
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
Properties
- $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
Methods
- __construct() : mixed
- DecoderResult constructor.
- __get() : mixed
- __toString() : string
- getQRMatrix() : QRMatrix
- Returns a QRMatrix instance with the settings 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([iterable<string|int, mixed>|null $properties = null ]) : mixed
Parameters
- $properties : iterable<string|int, mixed>|null = null
Tags
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
__toString()
public
__toString() : string
Return values
stringgetQRMatrix()
Returns a QRMatrix instance with the settings and data of the reader result
public
getQRMatrix() : QRMatrix
Return values
QRMatrixhasStructuredAppend()
public
hasStructuredAppend() : bool