haagenti-stream 0.1.0

Advanced streaming compression utilities for Haagenti
Documentation

Haagenti Stream

Advanced streaming compression utilities.

Provides buffered streams, adapters, and I/O integration for efficient streaming compression operations.

Features

  • Buffered Streams: Memory-efficient buffering
  • I/O Integration: Read/Write trait implementations
  • Backpressure: Flow control for slow consumers

Example

use haagenti_stream::CompressWriter;
use haagenti_lz4::Lz4Compressor;
use std::io::Write;

let file = File::create("output.lz4")?;
let mut writer = CompressWriter::new(file, Lz4Compressor::new());

writer.write_all(b"Hello, compression!")?;
writer.finish()?;