mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-05-19 20:01:17 +03:00
19 lines
549 B
C#
19 lines
549 B
C#
![]() |
using System.IO;
|
||
|
|
||
|
namespace X86Disassembler.PE.Parsers
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Interface for PE format component parsers
|
||
|
/// </summary>
|
||
|
/// <typeparam name="T">The type of component to parse</typeparam>
|
||
|
public interface IParser<T>
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Parse a component from the binary reader
|
||
|
/// </summary>
|
||
|
/// <param name="reader">The binary reader positioned at the start of the component</param>
|
||
|
/// <returns>The parsed component</returns>
|
||
|
T Parse(BinaryReader reader);
|
||
|
}
|
||
|
}
|