dart_reed_solomon 0.1.0+2
dart_reed_solomon: ^0.1.0+2

Dart native js
Flutter Android iOS web

Reed–Solomon error correction

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.