Skip to main content

aligned_value_from_atoms

Function aligned_value_from_atoms 

Source
pub fn aligned_value_from_atoms(
    atoms: &[Vec<u8>],
    alignment: Alignment,
) -> Result<AlignedValue, &'static str>
Expand description

Build an AlignedValue directly from a raw atom slice and an alignment singleton. Skips the round-trip when the caller already knows the descriptor and just needs to wrap raw atoms.