/// Decodes a labeled tree from a byte buffer.
Decodes a labeled tree from a byte buffer.
Decodes a labeled tree from a byte buffer .
pub fn decode_labeled_tree(bytes: &[u8]) -> Result<LabeledTree<Vec<u8>>, DecodeStreamError> {
    v1::LabeledTree::proxy_decode(bytes).map_err(|err| {
        DecodeStreamError::SerializationError(format!("failed to decode stream: {}", err))
    })
}
pub fn decode_labeled_tree ( bytes : & [ u8 ] ) -> Result < LabeledTree < Vec < u8 > > , DecodeStreamError > { v1 :: LabeledTree :: proxy_decode ( bytes ) . map_err ( | err | { DecodeStreamError :: SerializationError ( format ! ( " " err ) ) } ) }
Decodes a labeled tree from a byte buffer.
Decodes a labeled tree from a byte buffer .
bytes
&[u8]