Class VTableFixup
- Namespace
- AsmResolver.PE.DotNet.VTableFixups
- Assembly
- AsmResolver.PE.dll
Represents a VTable declared by the VTable fixups directory.
public class VTableFixup : SegmentBase, ISegment, IOffsetProvider, IWritable- Inheritance
- 
      
      
      VTableFixup
- Implements
- Inherited Members
Constructors
VTableFixup(VTableType)
Creates a new VTable fixup.
public VTableFixup(VTableType type)Parameters
- typeVTableType
Properties
Tokens
Gets a list of the tokens added to this vtable.
public VTableTokenCollection Tokens { get; }Property Value
Methods
FromReader(PEReaderContext, ref BinaryStreamReader)
Reads a single vtable from the provided input stream.
public static VTableFixup? FromReader(PEReaderContext context, ref BinaryStreamReader reader)Parameters
- contextPEReaderContext
- The reader context. 
- readerBinaryStreamReader
- The input stream. 
Returns
GetPhysicalSize()
Computes the number of bytes that the structure contains.
public override uint GetPhysicalSize()Returns
- uint
- The number of bytes. 
Write(BinaryStreamWriter)
Serializes the structure to an output stream.
public override void Write(BinaryStreamWriter writer)Parameters
- writerBinaryStreamWriter
- The output stream to write the data to.