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