コード例 #1
0
        public ByteBlock AddBlock(string Label, string Description, long Position, byte[] RawBytes, ByteBlockType Type = ByteBlockType.Normal)
        {
            var NewBlock = new ByteBlock(Label, Description, Position, RawBytes);

            NewBlock.Type = Type;

            return(AddBlock(NewBlock));
        }
コード例 #2
0
ファイル: TreeBuilder.cs プロジェクト: titasraha/opex
 public void AddCalculated(string Label, string Description = "", ByteBlockType Type = ByteBlockType.Normal)
 {
     CurrentBlock = CurrentBlock.AddBlock(Label, Description, -1, new byte[] { }, Type);
 }