Documentation

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

$structuredAppendSequence

public int $structuredAppendSequence

$structuredAppendParity

protected int $structuredAppendParity = -1

$structuredAppendSequence

protected int $structuredAppendSequence = -1

Methods

__set()

public __set(mixed $property, mixed $value) : void
Parameters
$property : mixed
$value : mixed
Tags
inheritDoc
Return values
void

__toString()

public __toString() : string
Tags
inheritDoc
Return values
string

fromIterable()

public fromIterable(iteratable<string|int, mixed> $properties) : self
Parameters
$properties : iteratable<string|int, mixed>
Tags
inheritDoc
Return values
self

hasStructuredAppend()

public hasStructuredAppend() : bool
Return values
bool

Search results