#[unsafe(no_mangle)]pub unsafe extern "C" fn hurray_file_reader_destroy(
handle: *mut *mut HurrayFileReader,
) -> HurrayStatusExpand description
Destroys a reader, releases its transport context, and writes null through handle.
Tensors already produced by hurray_file_reader_read_tensor are unaffected: each
owns its own buffers and outlives the reader. Name and KV pointers are not — they
borrow from the handle and die with it.
§Safety
handleMUST be a valid, non-null pointer to a*mut HurrayFileReaderfromhurray_file_reader_new.- That reader MUST NOT have been destroyed already.