Class IMAGE_BASE_RELOCATION.TypeOffset
Represents the type and offset in an IMAGE_BASE_RELOCATION structure.
Inheritance
System.Object
IMAGE_BASE_RELOCATION.TypeOffset
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: PeNet.Structures
Assembly: PeNet.dll
Syntax
public class TypeOffset
Constructors
| Improve this Doc View SourceTypeOffset(Byte[], UInt32)
Create a new TypeOffset object.
Declaration
public TypeOffset(byte[] buff, uint offset)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | buff | PE binary as byte array. |
System.UInt32 | offset | Offset of the TypeOffset in the array. |
Properties
| Improve this Doc View SourceOffset
The offset is described in the 12 higher bits of the TypeOffset word.
Declaration
public ushort Offset { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Type
The type is described in the 4 lower bits of the TypeOffset word.
Declaration
public byte Type { get; }
Property Value
Type | Description |
---|---|
System.Byte |