Function bao::decode::decode

source · []
pub fn decode(encoded: impl AsRef<[u8]>, hash: &Hash) -> Result<Vec<u8>>
Expand description

Decode an entire slice in the default combined mode into a bytes vector. This is a convenience wrapper around Decoder.