Function bao::encode::encode_outboard_to_vec[][src]

pub fn encode_outboard_to_vec(input: &[u8]) -> (Hash, Vec<u8>)

A convenience wrapper around encode_outboard, which allocates a new Vec to hold the encoding.