C# Class AsmResolver.FileSegment

Represents a generic file segment in a windows image.
Datei anzeigen Open project: JerreS/AsmResolver Class Usage Examples

Public Methods

Method Description
Align ( uint value, uint align ) : uint

Aligns a specific offset to a specific boundary.

GetPhysicalLength ( ) : uint

Computes the physical length of the segment.

Write ( WritingContext context ) : void

Writes the segment to a specific writing context.

Method Details

Align() public static method

Aligns a specific offset to a specific boundary.
public static Align ( uint value, uint align ) : uint
value uint The value to align.
align uint The block length of the alignment to use.
return uint

GetPhysicalLength() public abstract method

Computes the physical length of the segment.
public abstract GetPhysicalLength ( ) : uint
return uint

Write() public abstract method

Writes the segment to a specific writing context.
public abstract Write ( WritingContext context ) : void
context WritingContext The context to use.
return void