Example #1
0
 public ImageDosHeaderNode(HexDocument doc, ImageDosHeader dosHeader)
     : base((ulong)dosHeader.StartOffset, (ulong)dosHeader.EndOffset - 1)
 {
     this.imageDosHeaderVM = new ImageDosHeaderVM(this, doc, StartOffset);
 }
Example #2
0
 public ImageDosHeaderNode(HexBuffer buffer, ImageDosHeader dosHeader)
     : base(HexSpan.FromBounds((ulong)dosHeader.StartOffset, (ulong)dosHeader.EndOffset))
 {
     imageDosHeaderVM = new ImageDosHeaderVM(this, buffer, Span.Start);
 }
Example #3
0
 public ImageDosHeaderNode(ImageDosHeaderVM dosHeader)
     : base(dosHeader.Span)
 {
     imageDosHeaderVM = dosHeader;
 }
Example #4
0
		public ImageDosHeaderNode(HexDocument doc, ImageDosHeader dosHeader)
			: base((ulong)dosHeader.StartOffset, (ulong)dosHeader.EndOffset - 1) {
			this.imageDosHeaderVM = new ImageDosHeaderVM(this, doc, StartOffset);
		}