Skip to main content

value_list_into

Function value_list_into 

Source
pub unsafe fn value_list_into(
    out: &mut PredsyncValue,
    items: &[u64],
    scratch: *mut u64,
    scratch_cap: usize,
    element: PredsyncScalarKind,
) -> Result<(), PredsyncStatus>
Expand description

Write list slot bits into a caller-provided scratch buffer and describe them with out. The library never allocates a buffer for generated wrappers.

ยงSafety

scratch must be writable for scratch_cap u64 elements.