Barcode::DataMatrix::Reed - Renamed version of Algorithm::DataMatrix::Reed


This is just a renamed version of Algorithm::DataMatrix::Reed by Mons Anderson from

For a rough explanation of the structure of this code, see Note that the link is not the basis of the implementation (this is unknown), however it helps explain how Reed-Solomon encoding is implemented and hence how the code below works.


Control whether or not debugging output is printed.

mult (x, y)

Multiply two Galois field element values and return the result.

encode (ai, j)

Encode the message array and return it.