Class ReedSolomon

java.lang.Object
com.itextpdf.barcodes.dmcode.ReedSolomon

public final class ReedSolomon extends Object
This class holds the error correction code for a data block.
  • 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