#[unsafe(no_mangle)]pub unsafe extern "C" fn vsa_encode_data(
config: *const VSAConfigHandle,
data: *const u8,
len: usize,
path: *const c_char,
) -> *mut SparseVecHandleExpand description
Encode data into a SparseVec
ยงSafety
- All handles must be valid
datamust point to valid byteslenmust be correctpathmay be null or must be null-terminated UTF-8- Returns a handle that must be freed with
sparse_vec_free