C# Class NewSF64Toolkit.DataStructures.DataObjects.DynamicMemoryMapping

This class will be used to allow parts of dma data to be pulled out of the whole and converted to an object class to represent it, but still keep track of the remainder of the unknown data. This will hold sections of data that can be pulled out or added to.
Inheritance: IGameDataStructure
Afficher le fichier Open project: mib-f8sm9c/NewSF64Toolkit Class Usage Examples

Méthodes publiques

Свойство Type Description
MemoryMaps byte[]>.Dictionary

Méthodes publiques

Méthode Description
AddMemory ( int offset, byte data ) : bool
ClearMaps ( ) : void
ContainsByte ( int offset ) : bool
ContainsBytes ( int offset, int size ) : bool
DynamicMemoryMapping ( ) : System
GetAsBytes ( ) : byte[]
LoadFromBytes ( byte bytes ) : bool
PeekMemory ( int offset, int size, byte &data ) : bool
TakeMemory ( int offset, int size, byte &data ) : bool

Private Methods

Méthode Description
GetContainingMap ( int offset ) : byte[]>.KeyValuePair
GetNextFreeByte ( int mapIndex ) : int
IsEmptyRegion ( int offset, int size ) : bool
IsValidMap ( byte[]>.KeyValuePair map ) : bool

Method Details

AddMemory() public méthode

public AddMemory ( int offset, byte data ) : bool
offset int
data byte
Résultat bool

ClearMaps() public méthode

public ClearMaps ( ) : void
Résultat void

ContainsByte() public méthode

public ContainsByte ( int offset ) : bool
offset int
Résultat bool

ContainsBytes() public méthode

public ContainsBytes ( int offset, int size ) : bool
offset int
size int
Résultat bool

DynamicMemoryMapping() public méthode

public DynamicMemoryMapping ( ) : System
Résultat System

GetAsBytes() public méthode

public GetAsBytes ( ) : byte[]
Résultat byte[]

LoadFromBytes() public méthode

public LoadFromBytes ( byte bytes ) : bool
bytes byte
Résultat bool

PeekMemory() public méthode

public PeekMemory ( int offset, int size, byte &data ) : bool
offset int
size int
data byte
Résultat bool

TakeMemory() public méthode

public TakeMemory ( int offset, int size, byte &data ) : bool
offset int
size int
data byte
Résultat bool

Property Details

MemoryMaps public_oe property

public Dictionary MemoryMaps
Résultat byte[]>.Dictionary