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?)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
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
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
Link copied to clipboard