Function rust_htslib::htslib::bgzf_raw_write [] [src]

pub unsafe extern "C" fn bgzf_raw_write(
    fp: *mut BGZF,
    data: *const c_void,
    length: usize
) -> isize

Write length bytes directly to the underlying stream without compressing. Bypasses BGZF blocking, so must be used with care in specialised circumstances only.

@param fp BGZF file handler @param data data array to write @param length number of raw bytes to write @return number of bytes actually written; -1 on error