Companion

object Companion

Functions

Link copied to clipboard

Build an empty dictionary.

Link copied to clipboard
fun from(node: BdecodeNode): Entry

Convert a parsed BdecodeNode tree into an owning, editable Entry.

Link copied to clipboard

Build an empty list.

Link copied to clipboard
fun of(bytes: ByteArray): Entry

Build a string entry from raw bytes.

fun of(value: Long): Entry

Build an integer entry.

fun of(text: String): Entry

Build a string entry from UTF-8 text.