KiteTorrent
Toggle table of contents
0.0.1-SNAPSHOT
Guide
GitHub
common
Target filter
common
Switch theme
Search in API
Skip to content
KiteTorrent
kitetorrent
/
io.github.yuroyami.kitetorrent.bencode
/
Bdecode
/
decode
decode
fun
decode
(
buffer
:
ByteArray
,
depthLimit
:
Int
=
DEFAULT_DEPTH_LIMIT
,
tokenLimit
:
Int
=
DEFAULT_TOKEN_LIMIT
)
:
BdecodeNode
Decode
buffer
; throws
BdecodeException
on malformed input.