Example #1
0
 internal ECBlocks(int ecCodewordsPerBlock, ECB ecBlocks1, ECB ecBlocks2)
 {
     this.ecCodewordsPerBlock = ecCodewordsPerBlock;
     this.ecBlocks = new ECB[]{ecBlocks1, ecBlocks2};
 }
Example #2
0
 public ECBlocks(int ecCodewordsPerBlock, ECB ecBlocks) {
   this.ecCodewordsPerBlock = ecCodewordsPerBlock;
   this.ecBlocks = new ECB[]{ecBlocks};
 }
Example #3
0
 private void setECBlocks2(ECB ecBlocks1, ECB ecBlocks2)
 {
     this.ecBlocks = new ECB[] { ecBlocks1, ecBlocks2 };
 }
Example #4
0
 private void setECBlocks1(ECB ecBlocks)
 {
     this.ecBlocks = new ECB[] { ecBlocks };
 }
Example #5
0
 internal static ECBlocks CreateECBlocks2(int ecCodewords, ECB ecBlocks1, ECB ecBlocks2)
 {
     ECBlocks block = new ECBlocks(ecCodewords, ecBlocks1, ecBlocks2);
     block.setECBlocks2(ecBlocks1, ecBlocks2);
     return block;
 }
Example #6
0
 internal static ECBlocks CreateECBlocks1(int ecCodewords, ECB ecBlocks)
 {
     ECBlocks block = ECBlocks.CreateECBlocks2(ecCodewords, ecBlocks, null);
     block.setECBlocks1(ecBlocks);
     return block;
 }