Skip to main content

pio_collection_from_files

Function pio_collection_from_files 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pio_collection_from_files( name: *const c_char, name_len: usize, buffers: *const PioNamedBufferView, buffers_len: usize, max_bytes: u64, max_files: usize, error: *mut *mut PioError, ) -> *mut PioCollection
Expand description

Copy named buffers once into a shared immutable inventory. Checks count and cumulative bytes before copying payloads. No host fallback is possible.

ยงSafety

Pointers and handles must satisfy the crate-level safety requirements. buffers addresses buffers_len views; NULL is valid only at zero length.