HighLevelEncoder class

This produces nearly optimal encodings of text into the first-level of encoding used by Aztec code.

It uses a dynamic algorithm. For each prefix of the string, it determines a set of encodings that could lead to this prefix. We repeatedly add a character and generate a new set of optimal encodings until we have read through the entire input.

@author Frank Yellin @author Rustam Abdullaev

Constructors

HighLevelEncoder(List<int> _text, [Encoding? _charset])

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() → BitArray
@return text represented by this encoder encoded as a BitArray
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

shiftTable → List<List<int>>
final

Constants

latchTable → const List<List<int>>