Function rust_htslib::htslib::bgzf_block_write
[−]
[src]
pub unsafe extern "C" fn bgzf_block_write(
fp: *mut BGZF,
data: *const c_void,
length: usize
) -> isize
Write length bytes from data to the file, the index will be used to decide the amount of uncompressed data to be writen to each bgzip block. 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