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
context
PEReaderContextThe reader context.
type
DebugDataTypeThe type of data.
reader
BinaryStreamReaderThe input stream to read from.
Returns
- IDebugDataSegment
The debug data, or
null
if the debug data could not be read.