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 : array<string|int, int>
- $structuredAppendParity : int
- $structuredAppendSequence : int
- $version : Version
- $data : string
- $eccLevel : EccLevel
- $maskPattern : MaskPattern
- $rawBytes : array<string|int, mixed>
- $structuredAppendParity : int
- $structuredAppendSequence : int
- $version : Version
- __construct() : mixed
- DecoderResult constructor.
- __get() : mixed|null
- __toString() : string
- hasStructuredAppend() : bool
Properties
$data
public
string
$data
$eccLevel
public
EccLevel
$eccLevel
$maskPattern
public
MaskPattern
$maskPattern
$rawBytes
public
array<string|int, int>
$rawBytes
$structuredAppendParity
public
int
$structuredAppendParity
$structuredAppendSequence
public
int
$structuredAppendSequence
$version
public
Version
$version
$data
protected
string
$data
$eccLevel
protected
EccLevel
$eccLevel
$maskPattern
protected
MaskPattern
$maskPattern
$rawBytes
protected
array<string|int, mixed>
$rawBytes
$structuredAppendParity
protected
int
$structuredAppendParity
= -1
$structuredAppendSequence
protected
int
$structuredAppendSequence
= -1
$version
protected
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 —hasStructuredAppend()
public
hasStructuredAppend() : bool