Table of Contents

Class DefaultDebugDataReader

Namespace
AsmResolver.PE.Debug
Assembly
AsmResolver.PE.dll

Provides a default implementation of the IDebugDataReader interface.

public class DefaultDebugDataReader : IDebugDataReader
Inheritance
DefaultDebugDataReader
Implements
Inherited Members

Properties

Instance

Gets the singleton instance of the DefaultDebugDataReader class.

public static DefaultDebugDataReader Instance { get; }

Property Value

DefaultDebugDataReader

Methods

ReadDebugData(PEReaderContext, DebugDataType, ref BinaryStreamReader)

Reads the contents of a single debug data entry.

public IDebugDataSegment? ReadDebugData(PEReaderContext context, DebugDataType type, ref BinaryStreamReader reader)

Parameters

context PEReaderContext

The reader context.

type DebugDataType

The type of data.

reader BinaryStreamReader

The input stream to read from.

Returns

IDebugDataSegment

The debug data, or null if the debug data could not be read.