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