Class ResourceNameTableBuffer
- Namespace
- AsmResolver.PE.Win32Resources.Builder
- Assembly
- AsmResolver.PE.dll
Provides a mechanism for building a table of names that can be used in a resource directory.
public class ResourceNameTableBuffer : ResourceTableBuffer<string>, ISegment, IOffsetProvider, IWritable
- Inheritance
-
ResourceNameTableBuffer
- Implements
- Inherited Members
Constructors
ResourceNameTableBuffer(ISegment)
Creates a new name table buffer.
public ResourceNameTableBuffer(ISegment parentBuffer)
Parameters
parentBuffer
ISegmentThe resource directory segment that contains the name table buffer.
Methods
GetEntrySize(string)
Determines the size of a single item in the table.
public override uint GetEntrySize(string entry)
Parameters
entry
stringThe 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
BinaryStreamWriterThe output stream to write the data to.