public ImageDosHeaderNode(HexDocument doc, ImageDosHeader dosHeader) : base((ulong)dosHeader.StartOffset, (ulong)dosHeader.EndOffset - 1) { this.imageDosHeaderVM = new ImageDosHeaderVM(this, doc, StartOffset); }
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; }