Function rust_htslib::htslib::bgzf_compression [] [src]

pub unsafe extern "C" fn bgzf_compression(fp: *mut BGZF) -> c_int

Return the file's compression format

@param fp BGZF file handle @return A small integer matching the corresponding enum htsCompression value:

  • 0 / no_compression if the file is uncompressed
  • 1 / gzip if the file is plain GZIP-compressed
  • 2 / bgzf if the file is BGZF-compressed @since 1.4