Table of Contents

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

context PEReaderContext

The PE reader context.

entry ResourceDirectoryEntry

The entry to read.

entryReader BinaryStreamReader

The 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

uint

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.