Type Definition BVec
benko
type BVec = Vec<Benc>;
A Bencode List of other Bencode types, (format: “l[bencode objects]e”)
impl EncodeBencode<Vec<Benc, Global>> for BVec
fn bytes(&self) -> Vec<u8>
Parses the Bencode typed object back into a bencoded array of bytes. Read more
impl ParseBenc<Vec<Benc, Global>> for BVec
fn parse_with_offset(bytes: &[u8]) -> ParseResult<(Self, usize)>
attempts to parse, and returns a tuple containing the result, and the byte offset.
fn parse(bytes: &[u8]) -> ParseResult<Self>
attempts to parse and returns the result.
impl WrapBenc for BVec
fn wrap_benc(self) -> Benc