cberner / raptorq

Rust implementation of RaptorQ (RFC6330)
Apache License 2.0
264 stars 47 forks source link

Re-export SYSTEMATIC_INDICES_AND_PARAMETERS constant #167

Closed mlegner closed 4 months ago

mlegner commented 5 months ago

This constant may be interesting for consumers of this library. For example, to choose a number of source symbols that does not require padding symbols.

cberner commented 4 months ago

I don't think I want to expose this, but feel free to send a PR for a helper function(s) that does those calculations

mlegner commented 4 months ago

I don't think I want to expose this, but feel free to send a PR for a helper function(s) that does those calculations

OK, I'll look into it. Maybe something like closest_n_source_symbols_without_padding(target: u16), with variants for "closest above" and "closest below".

mlegner commented 4 months ago

Actually, we changed our approach and don't currently need this. I will close this PR for now. Sorry for the noise.