Table of Contents

Class ResourceDataTableBuffer

Namespace
AsmResolver.PE.Win32Resources.Builder
Assembly
AsmResolver.PE.dll

Provides a mechanism for building a table of data entries in a resource directory.

public class ResourceDataTableBuffer : ResourceTableBuffer<ResourceData>, ISegment, IOffsetProvider, IWritable
Inheritance
ResourceDataTableBuffer
Implements
Inherited Members

Constructors

ResourceDataTableBuffer(ISegment)

Creates a new data table buffer.

public ResourceDataTableBuffer(ISegment parentBuffer)

Parameters

parentBuffer ISegment

The resource directory segment that contains the table buffer.

Methods

GetEntrySize(ResourceData)

Determines the size of a single item in the table.

public override uint GetEntrySize(ResourceData entry)

Parameters

entry ResourceData

The item to measure.

Returns

uint

The size in bytes.

Write(BinaryStreamWriter)

Serializes the structure to an output stream.

public override void Write(BinaryStreamWriter writer)

Parameters

writer BinaryStreamWriter

The output stream to write the data to.