Skip to main content

simplify_name_vec

Function simplify_name_vec 

Source
pub fn simplify_name_vec(
    name: &[u8],
    meter: &Arc<Meter>,
) -> Result<MeteredVec<u8>, ChargeError>
Expand description

A transient CAB lookup key. Keeps computed bytes in a fallibly allocated, charged vector instead of constructing a Bytes shared owner (CR10).