public virtual void CalculateBlockSize() { uint block = (uint)(BinaryHelper.ConvertUTF8StringToByteArray(BlockType).Length + 4); Childrens.ForEach(b => b.CalculateBlockSize()); Childrens.ForEach(b => block += b.BlockSize); _blockSize = block; }