Package com.itextpdf.barcodes.dmcode
Class ReedSolomon
java.lang.Object
com.itextpdf.barcodes.dmcode.ReedSolomon
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
generateECC
(byte[] wd, int nd, int datablock, int nc) Calculates the error correction code for the given parameters.
-
Constructor Details
-
ReedSolomon
public ReedSolomon()
-
-
Method Details
-
generateECC
public static void generateECC(byte[] wd, int nd, int datablock, int nc) Calculates the error correction code for the given parameters.- Parameters:
-
wd
- bytearray containing the data -
nd
- size of the data -
datablock
- size of a datablock -
nc
- size of a errorblock
-