#[unsafe(no_mangle)]pub unsafe extern "C" fn asdf_parser_set_input_mem(
parser: *mut AsdfParser,
buf: *const c_void,
size: usize,
) -> c_intExpand 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.