Edge

class Edge(val input: MinimalEncoder.Input, val mode: MinimalEncoder.Mode, val fromPosition: Int, val characterLength: Int, val previous: MinimalEncoder.Edge?)

Constructors

Link copied to clipboard
constructor(input: MinimalEncoder.Input, mode: MinimalEncoder.Mode, fromPosition: Int, characterLength: Int, previous: MinimalEncoder.Edge?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun getC40Words(c40: Boolean, fnc1: Int): ByteArray
Link copied to clipboard

Returns the remaining capacity in codewords of the smallest symbol that has enough capacity to fit the given minimal number of codewords.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Returns Mode.ASCII in case that:

Link copied to clipboard

Peeks ahead and returns 1 if the postfix consists of exactly two digits, 2 if the postfix consists of exactly two consecutive digits and a non extended character or of 4 digits. Returns 0 in any other case

Link copied to clipboard
Link copied to clipboard
fun getMinSymbolSize(minimum: Int): Int

Returns the capacity in codewords of the smallest symbol that has enough capacity to fit the given minimal number of codewords.

Link copied to clipboard
Link copied to clipboard