NAME

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

DESCRIPTION

This is just a renamed version of Algorithm::DataMatrix::Reed by Mons Anderson from http://code.google.com/p/perl-ex/

For a rough explanation of the structure of this code, see https://en.wikiversity.org/wiki/Reed%E2%80%93Solomon_codes_for_coders#Reed.E2.80.93Solomon_codes. 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.

DEBUG

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.