decode

fun decode(buffer: ByteArray, depthLimit: Int = DEFAULT_DEPTH_LIMIT, tokenLimit: Int = DEFAULT_TOKEN_LIMIT): BdecodeNode

Decode buffer; throws BdecodeException on malformed input.