ECIStringBuilder

Class that converts a sequence of ECIs and bytes into a string

Constructors

Link copied to clipboard
constructor()
constructor(initialCapacity: Int)

Functions

Link copied to clipboard
fun append(value: Byte)
fun append(value: Char)

Appends value as a byte value

fun append(value: Int)

Append the string repesentation of value (short for append(String.valueOf(value)))

fun append(value: String)

Appends the characters in value as bytes values

Link copied to clipboard

Appends the characters from value (unlike all other append methods of this class who append bytes)

Link copied to clipboard
fun appendECI(value: Int)

Appends ECI value to output.

Link copied to clipboard
Link copied to clipboard
fun length(): Int

Short for toString().length() (if possible, use isEmpty instead)

Link copied to clipboard
open override fun toString(): String