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
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
contextPEReaderContextThe reader context.
typeDebugDataTypeThe type of data.
readerBinaryStreamReaderThe input stream to read from.
Returns
- IDebugDataSegment
The debug data, or
nullif the debug data could not be read.