Function lava_torrent::bencode::write::encode_string
source · pub fn encode_string<S>(string: S) -> Vec<u8>where
S: AsRef<str>,
Expand description
Encode string
and return the result in a Vec
.
pub fn encode_string<S>(string: S) -> Vec<u8>where
S: AsRef<str>,
Encode string
and return the result in a Vec
.