Reed Solomon

An implementation of Reed-Solomon error correction using Dart language.

Based on Reed–Solomon codes for coders.

Usage

Create a new ReedSolomon object

var reedSolomon = ReedSolomon(
        symbolSizeInBits: 8,
        numberOfCorrectableSymbols: 5,
        primitivePolynomial: 285,
        initialRoot: 1,
      );

and encode message

reedSolomon.encode(message);

or decode message

reedSolomon.decode(message);

where message is a list of integers.

Libraries

dart_reed_solomon