package bencode
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Bencode (`.torrent` file format) reader/writer in OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
2.0.tar.gz
md5=80a4d59a246c31df45a42779c777bb28
sha512=687544db98ca47ecd55c8235e751b04df58fd5aba1270dcc93e19629f483f33232ac3779c0e07d0fdb67ea958156113143b0bd3b8640478928b591092d327d12
doc/bencode/Bencode_streaming/index.html
Module Bencode_streamingSource
Non-Blocking IO
Serialization (encoding)
Pretty printing of values
Print the tree itself, not its encoding
Deserialization (decoding)
Deserialization is based on the Bencode_token.Decode module. Parsing can be incremental, in which case the input is provided chunk by chunk and the decoder contains the parsing state. Once a B-encoded value has been parsed, other values can still be read.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page