Skip to content

shhyang/fountain_engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fountain_engine

Core algorithms for fountain code encoding and decoding.

What It Provides

  • Encoder / Decoder: Generic fountain code encoder and decoder that work with any code scheme implementing the CodeScheme trait.
  • Traits: CodeScheme and DataOperator — implement these to define custom fountain codes and data backends.

Architecture

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 (VecDataOperater in fountain_utility)
  • I/O logging (IoDataOperator in fountain_utility)
  • Network streaming or any custom backend

License

This crate is dual-licensed:

  1. AGPL-3.0 — Free for open-source use. See LICENSE-AGPL.
  2. Commercial — For proprietary use without AGPL obligations. See LICENSE-COMMERCIAL.

Copyright (c) 2025 Shenghao Yang. All rights reserved.

About

A rust library for fountain code encoding and decoding algorithms

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
AGPL-3.0
LICENSE-AGPL
Unknown
LICENSE-COMMERCIAL

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages