Class Version.ECBlocks

  • Enclosing class:
    Version

    static final class Version.ECBlocks
    extends java.lang.Object

    Encapsulates a set of error-correction blocks in one symbol version. Most versions will use blocks of differing sizes within one version, so, this encapsulates the parameters for each set of blocks. It also holds the number of error-correction codewords per block since it will be the same across all blocks within one version.

    • Field Detail

      • ecCodewords

        private final int ecCodewords
    • Constructor Detail

      • ECBlocks

        private ECBlocks​(int ecCodewords,
                         Version.ECB ecBlocks)
    • Method Detail

      • getECCodewords

        int getECCodewords()