public ImageOptionalHeader32Node(HexDocument doc, ImageOptionalHeader32 optHdr)
			: base((ulong)optHdr.StartOffset, (ulong)optHdr.EndOffset - 1) {
			this.imageOptionalHeader32VM = new ImageOptionalHeader32VM(this, doc, StartOffset, EndOffset);
		}
Example #2
0
		public ImageOptionalHeader32Node(HexBuffer buffer, ImageOptionalHeader32 optHdr)
			: base(HexSpan.FromBounds((ulong)optHdr.StartOffset, (ulong)optHdr.EndOffset)) {
			imageOptionalHeader32VM = new ImageOptionalHeader32VM(buffer, Span.Start, Span.End);
		}