internal ECBlocks(int ecCodewordsPerBlock, ECB ecBlocks1, ECB ecBlocks2) { this.ecCodewordsPerBlock = ecCodewordsPerBlock; this.ecBlocks = new ECB[]{ecBlocks1, ecBlocks2}; }
public ECBlocks(int ecCodewordsPerBlock, ECB ecBlocks) { this.ecCodewordsPerBlock = ecCodewordsPerBlock; this.ecBlocks = new ECB[]{ecBlocks}; }
private void setECBlocks2(ECB ecBlocks1, ECB ecBlocks2) { this.ecBlocks = new ECB[] { ecBlocks1, ecBlocks2 }; }
private void setECBlocks1(ECB ecBlocks) { this.ecBlocks = new ECB[] { ecBlocks }; }
internal static ECBlocks CreateECBlocks2(int ecCodewords, ECB ecBlocks1, ECB ecBlocks2) { ECBlocks block = new ECBlocks(ecCodewords, ecBlocks1, ecBlocks2); block.setECBlocks2(ecBlocks1, ecBlocks2); return block; }
internal static ECBlocks CreateECBlocks1(int ecCodewords, ECB ecBlocks) { ECBlocks block = ECBlocks.CreateECBlocks2(ecCodewords, ecBlocks, null); block.setECBlocks1(ecBlocks); return block; }