Function preserves::value::packed::from_bytes
source ยท pub fn from_bytes<N: NestedValue, Dec: DomainDecode<N::Embedded>>(
bs: &[u8],
decode_embedded: Dec,
) -> Result<N>
Expand description
Reads a value from the given byte vector bs
using the binary encoding, discarding
annotations.