Core algorithms for fountain code encoding and decoding.
- Encoder / Decoder: Generic fountain code encoder and decoder that work with any code scheme implementing the
CodeSchemetrait. - Traits:
CodeSchemeandDataOperator— implement these to define custom fountain codes and data backends.
The engine is data-free by design. Instead of operating on data directly, the encoder and decoder emit a sequence of Operation values that a DataOperator executes on actual data vectors. This separation enables:
- In-memory operation (
VecDataOperaterinfountain_utility) - I/O logging (
IoDataOperatorinfountain_utility) - Network streaming or any custom backend
This crate is dual-licensed:
- AGPL-3.0 — Free for open-source use. See LICENSE-AGPL.
- Commercial — For proprietary use without AGPL obligations. See LICENSE-COMMERCIAL.
Copyright (c) 2025 Shenghao Yang. All rights reserved.