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