Registry / utility / bgzip
library0.3.1rscratesunverified

A Rust implementation of the bgzip compression format for block-gzipped files.

# Cargo.toml [dependencies] bgzip = "0.3.1"
INSTALL
IMPORT
SIG · BGZIP
B
bgzip
utilityrustv0.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BGZIPReader
use bgzip::BGZIPReader;

Reads a bgzip-compressed file using BGZIPReader.

use bgzip::BGZIPReader; use std::io::Read; fn main() -> Result<(), Box<dyn std::error::Error>> { let file = std::fs::File::open("example.bgz")?; let mut reader = BGZIPReader::new(file); let mut contents = String::new(); reader.read_to_string(&mut contents)?; println!("{}", contents); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
bgzip — cargo add bgzip · libregistry