DecoderResult
extends SettingsContainerAbstract
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
- $eccLevel : EccLevel
- $rawBytes : array<string|int, int>
- $structuredAppendParity : int
- $structuredAppendSequence : int
- $text : string
- $version : Version
- $eccLevel : EccLevel
- $rawBytes : array<string|int, mixed>
- $structuredAppendParity : int
- $structuredAppendSequence : int
- $text : string
- $version : Version
- __set() : void
- __toString() : string
- fromIterable() : self
- hasStructuredAppend() : bool
Properties
$eccLevel
public
EccLevel
$eccLevel
$rawBytes
public
array<string|int, int>
$rawBytes
$structuredAppendParity
public
int
$structuredAppendParity
$structuredAppendSequence
public
int
$structuredAppendSequence
$text
public
string
$text
$version
public
Version
$version
$eccLevel
protected
EccLevel
$eccLevel
$rawBytes
protected
array<string|int, mixed>
$rawBytes
$structuredAppendParity
protected
int
$structuredAppendParity
= -1
$structuredAppendSequence
protected
int
$structuredAppendSequence
= -1
$text
protected
string
$text
$version
protected
Version
$version
Methods
__set()
public
__set(mixed $property, mixed $value) : void
Parameters
- $property : mixed
- $value : mixed
Tags
Return values
void —__toString()
public
__toString() : string
Tags
Return values
string —fromIterable()
public
fromIterable(iteratable<string|int, mixed> $properties) : self
Parameters
- $properties : iteratable<string|int, mixed>
Tags
Return values
self —hasStructuredAppend()
public
hasStructuredAppend() : bool