Class SerializedResourceData
- Namespace
- AsmResolver.PE.Win32Resources
- Assembly
- AsmResolver.PE.dll
Provides an implementation for a single data entry in a Win32 resource directory, that was read from an existing PE file.
public class SerializedResourceData : ResourceData, IResourceEntry, IOwnedCollectionElement<ResourceDirectory>
- Inheritance
-
SerializedResourceData
- Implements
- Inherited Members
Constructors
SerializedResourceData(PEReaderContext, ResourceDirectoryEntry, ref BinaryStreamReader)
Reads a resource data entry from the provided input stream.
public SerializedResourceData(PEReaderContext context, ResourceDirectoryEntry entry, ref BinaryStreamReader entryReader)
Parameters
contextPEReaderContextThe PE reader context.
entryResourceDirectoryEntryThe entry to read.
entryReaderBinaryStreamReaderThe input stream to read the data from.
Fields
ResourceDataEntrySize
Indicates the size of a single data entry in a resource directory.
public const uint ResourceDataEntrySize = 16
Field Value
Methods
GetContents()
Obtains the contents of the data entry.
protected override ISegment? GetContents()
Returns
- ISegment
The contents.
Remarks
This method is called upon initializing the value for the Contents property.