Module lava_torrent::bencode::write
source · [−]Expand description
Module for bencode-related encoding.
Functions
Encode bytes
and return the result in a Vec
.
Encode dict
and return the result in a Vec
.
Encode int
and return the result in a Vec
.
Encode list
and return the result in a Vec
.
Encode dict
and return the result in a Vec
.
Encode string
and return the result in a Vec
.
Encode bytes
and write the result to dst
.
Encode dict
and write the result to dst
.
Encode int
and write the result to dst
.
Encode list
and write the result to dst
.
Encode dict
and write the result to dst
.
Encode string
and write the result to dst
.