Example #1
0
 public override void EndCurrentBlock()
 {
     if (CurrentBlockLength > 0)
     {
         Blocks.AddLast(currentBlock);
         currentBlock          = new BlocksInList();
         currentBlockStatistic = new Dictionary <byte, uint>();
     }
 }
Example #2
0
 public override void CreateNewBlock()
 {
     Blocks.AddLast(currentBlock);
     currentBlock          = new BlocksInList();
     currentBlockStatistic = new Dictionary <byte, uint>();
 }
Example #3
0
 public BlockListByteBlock()
 {
     Blocks       = new LinkedList <IBlock>();
     currentBlock = new BlocksInList();
 }