buffer_read

Function buffer_read 

Source
unsafe extern "C" fn buffer_read(
    buf: *mut c_void,
    nbytes: usize,
    io_ctx: *mut c_void,
) -> isize
Expand description

Read handler that copies bytes from the buffer into the caller’s buffer.