Companion

object Companion

Functions

Link copied to clipboard
inline fun fromString(maps: Map<Char, Byte>, default: Byte, code: String, marginChar: Char = '\u0000'): ByteArray2
Link copied to clipboard
inline operator fun invoke(rows: List<List<Byte>>): ByteArray2
inline operator fun invoke(width: Int, height: Int, fill: Byte): ByteArray2
inline operator fun invoke(width: Int, height: Int, gen: (n: Int) -> Byte): ByteArray2
inline operator fun invoke(map: String, default: Byte, transform: Map<Char, Byte>): ByteArray2
inline operator fun invoke(map: String, marginChar: Char = '\u0000', gen: (char: Char, x: Int, y: Int) -> Byte): ByteArray2
Link copied to clipboard
inline fun withGen(width: Int, height: Int, gen: (x: Int, y: Int) -> Byte): ByteArray2