pub fn from_bytes_to_value(
    input: &[u8],
    head: Span
) -> Result<Value, ShellError>
Expand description

Converts a byte slice into a Value.

Errors

Returns an error if the input is not valid bencode data.