private ByteBlock AddBlock(string Label, string Description, long PositionFromCurrent, byte[] Data) { if (AddChildLevel) { CurrentBlock = CurrentBlock.AddChildBlock(Label, Description, _fs.AbsPosition + PositionFromCurrent, Data); } else { CurrentBlock = CurrentBlock.AddBlock(Label, Description, _fs.AbsPosition + PositionFromCurrent, Data); } AddChildLevel = false; return(CurrentBlock); }
//public void Seek(long FromCurrentPosition) //{ // _fs.Seek(FromCurrentPosition, SeekOrigin.Current); //} public ByteBlock AddChild(ByteBlock ChildBlock) { return(CurrentBlock.AddChildBlock(ChildBlock)); }