Documentation

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

$structuredAppendSequence

public int $structuredAppendSequence

$structuredAppendParity

private int $structuredAppendParity = -1

$structuredAppendSequence

private int $structuredAppendSequence = -1

Methods

__construct()

DecoderResult constructor.

public __construct([iterable<string|int, mixed>|null $properties = null ]) : mixed
Parameters
$properties : iterable<string|int, mixed>|null = null
Tags
phpstan-param

array<string, mixed> $properties

__get()

public __get(string $property) : mixed
Parameters
$property : string

__toString()

public __toString() : string
Return values
string

getQRMatrix()

Returns a QRMatrix instance with the settings and data of the reader result

public getQRMatrix() : QRMatrix
Return values
QRMatrix

hasStructuredAppend()

public hasStructuredAppend() : bool
Return values
bool

        
On this page

Search results