Function rust_htslib::htslib::bgzf_read
[−]
[src]
pub unsafe extern "C" fn bgzf_read(
fp: *mut BGZF,
data: *mut c_void,
length: usize
) -> isize
Read up to length bytes from the file storing into data.
@param fp BGZF file handler @param data data array to read into @param length size of data to read @return number of bytes actually read; 0 on end-of-file and -1 on error