Module simple_bencode::decoding_helpers [] [src]

Functions to read the content of a dictionary and checking types.

Enums

HelperDecodeError

Functions

pop_value_bytestring

Pops a BValue::String from a HashMap.

pop_value_bytestring_option

Pops an optional BValue::String from a HashMap.

pop_value_integer

Pops a BValue::Integer from a HashMap.

pop_value_integer_option

Pops an optional BValue::Integer from a HashMap.

pop_value_utf8_string

Pops a BValue::String from a HashMap and decode it into a Rust String.

pop_value_utf8_string_option

Pops an optional BValue::String from a HashMap and decode it into a Rust String.