Package com.google.zxing.qrcode.decoder
Class Version.ECBlocks
java.lang.Object
com.google.zxing.qrcode.decoder.Version.ECBlocks
- Enclosing class:
Version
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
-
Field Details
-
ecCodewordsPerBlock
private final int ecCodewordsPerBlock -
ecBlocks
-
-
Constructor Details
-
ECBlocks
ECBlocks(int ecCodewordsPerBlock, Version.ECB... ecBlocks)
-
-
Method Details
-
getECCodewordsPerBlock
public int getECCodewordsPerBlock() -
getNumBlocks
public int getNumBlocks() -
getTotalECCodewords
public int getTotalECCodewords() -
getECBlocks
-