Input class

Inheritance

Constructors

Input(String stringToEncode, Encoding? priorityCharset, int fnc1, SymbolShapeHint shape, int macroId)

Properties

bytes List<int>
getter/setter pairinherited
fnc1 int
finalinherited
fnc1Character int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
length int
Returns the length of this input. The length is the number of bytes, FNC1 characters or ECIs in the sequence.
no setterinherited
macroId int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape SymbolShapeHint
final
shapeHint SymbolShapeHint
no setter

Methods

charAt(int index) int
Returns the byte value at the specified index. An index ranges from zero to length - 1. The first byte value of the sequence is at index zero, the next at index one, and so on, as for array indexing.
inherited
getECIValue(int index) int
Returns the int ECI value at the specified index. An index ranges from zero to length - 1. The first byte value of the sequence is at index zero, the next at index one, and so on, as for array indexing.
inherited
haveNCharacters(int index, int n) bool
inherited
isECI(int index) bool
Determines if a value is an ECI
inherited
isFNC1(int index) bool
Determines if a value is the FNC1 character
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subSequence(int start, int end) String
Returns a CharSequence that is a subsequence of this sequence. The subsequence starts with the char value at the specified index and ends with the char value at index end - 1. The length (in chars) of the returned sequence is end - start, so if start == end then an empty sequence is returned.
inherited
toString() String
A string representation of this object.
inherited

Operators

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