Function rust_htslib::htslib::bgzf_write
[−]
[src]
pub unsafe extern "C" fn bgzf_write(
fp: *mut BGZF,
data: *const c_void,
length: usize
) -> isize
Write length bytes from data to the file. If no I/O errors occur, the complete length bytes will be written (or queued for writing).
@param fp BGZF file handler @param data data array to write @param length size of data to write @return number of bytes written (i.e., length); negative on error