C# Class TUP.AsmResolver.NET.StringsHeap

A heap that holds all string values of all members in the tables heap.
Inheritance: TUP.AsmResolver.NET.Heap
Afficher le fichier Open project: Rex-Hays/GNIDA Class Usage Examples

Méthodes publiques

Méthode Description
ClearCache ( ) : void
Dispose ( ) : void

Frees all the streams used in this heap.

GetStringByOffset ( uint offset ) : string

Gets the string by its offset.

GetStringOffset ( string value ) : uint

Gets an offset of a string value. If it is not present in the strings heap, it will add it.

TryGetStringByOffset ( uint offset, string &value ) : bool

Private Methods

Méthode Description
Initialize ( ) : void
ReadAllStrings ( ) : void
StringsHeap ( NETHeader netheader, int headeroffset, Structures rawHeader, string name ) : System

Method Details

ClearCache() public méthode

public ClearCache ( ) : void
Résultat void

Dispose() public méthode

Frees all the streams used in this heap.
public Dispose ( ) : void
Résultat void

GetStringByOffset() public méthode

Gets the string by its offset.
public GetStringByOffset ( uint offset ) : string
offset uint The offset of the string.
Résultat string

GetStringOffset() public méthode

Gets an offset of a string value. If it is not present in the strings heap, it will add it.
public GetStringOffset ( string value ) : uint
value string The string value to get the offset from.
Résultat uint

TryGetStringByOffset() public méthode

public TryGetStringByOffset ( uint offset, string &value ) : bool
offset uint
value string
Résultat bool