/// <summary> /// Starts a new UBI block type by setting BitsProcessed to zero, setting the first flag, and setting the block type. /// </summary> /// <param name="type">The UBI block type of the new block.</param> public void StartNewBlockType(UbiType type) { BitsProcessed = 0; BlockType = type; IsFirstBlock = true; }