Skip to main content

vsa_decode_data

Function vsa_decode_data 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn vsa_decode_data( config: *const VSAConfigHandle, vec: *const SparseVecHandle, path: *const c_char, expected_size: usize, ) -> ByteBuffer
Expand description

Decode a SparseVec back to data

ยงSafety

  • All handles must be valid
  • path may be null or must be null-terminated UTF-8
  • Returns a ByteBuffer that must be freed with byte_buffer_free