Skip to main content

asdf_parser_set_input_mem

Function asdf_parser_set_input_mem 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn asdf_parser_set_input_mem( parser: *mut AsdfParser, buf: *const c_void, size: usize, ) -> c_int
Expand description

Read a buffer. Returns 0 on success.

The bytes are copied, so buf need not outlive the call.

ยงSafety

buf must point to at least size readable bytes.