Function ben::encode::ben_encode_xben

source ·
pub fn ben_encode_xben<R: BufRead, W: Write>(reader: R, writer: W) -> Result<()>
Expand description

This function takes a BEN file and encodes it into an XBEN file using bit-to-byte decompression followed by LZMA2 compression.

§Arguments

  • reader - A buffered reader for the input file
  • writer - A writer for the output file

§Returns

A Result type that contains the result of the operation