mersinvald / reed-solomon-rs Goto Github PK
View Code? Open in Web Editor NEWReed-Solomon BCH encoder and decoder with support of no_std environment
License: MIT License
Reed-Solomon BCH encoder and decoder with support of no_std environment
License: MIT License
Once rust-lang/rust#44580 is implemented.
Hi,
I found in your example that we have
let mut corrupted = *encoded;
// ...
println!("error correction code: {:?}", encoded.ecc());
println!("corrupted: {:?}", corrupted);
what is the corrupted
mean? I found that the corrupted
doesnot have ecc()
method with it.
By the way, I'm liitle confused with the parameters. I wonder why corrupted
has different length with encoded.ecc()
. For example, in your case our result is:
error correction code: [222, 132, 143, 149, 168, 20, 15, 242]
corrupted: [0, 0, 0, 0, 111, 32, 87, 111, 114, 108, 100, 33, 222, 132, 143, 149, 168, 20, 15, 242]
If I use RSEnc(m, n)
to represent encoding a m-bits message to a n-bits one, when using your API, should I set the length of the message to exactly m
? Then use Encoder::new(n)
?
Looking forward to your kind reply.
Looks like this project hasn't been updated since 2018. Is it still maintained?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.