C# Class SharpOS.Kernel.MemoryBlock

Afficher le fichier Open project: sharpos/SharpOS Class Usage Examples

Méthodes publiques

Méthode Description
Allocate ( uint count ) : void
Fill ( uint pattern ) : void
GetByte ( uint offset ) : byte
GetChar ( uint offset ) : char
GetInt ( uint offset ) : int
GetUInt ( uint offset ) : uint
GetUShort ( uint offset ) : ushort
MemoryBlock ( uint length ) : System
Offset ( uint offset ) : MemoryBlock
Release ( ) : void
SetByte ( uint offset, byte value ) : void
SetChar ( uint offset, char value ) : void
SetChars ( uint offset, char value ) : void
SetInt ( uint offset, int value ) : void
SetString ( uint offset, string value ) : void
SetUInt ( uint offset, uint value ) : void
SetUShort ( uint offset, ushort value ) : void
this ( int index ) : byte

Private Methods

Méthode Description
CopyFrom ( MemoryBlock source, uint count ) : void
CopyTo ( MemoryBlock destination, uint count ) : void
Fill ( uint pattern, uint index, uint count ) : void
MemoryBlock ( uint address, uint length ) : System
Move ( uint source, uint dest, uint count ) : void

Method Details

Allocate() public méthode

public Allocate ( uint count ) : void
count uint
Résultat void

Fill() public méthode

public Fill ( uint pattern ) : void
pattern uint
Résultat void

GetByte() public méthode

public GetByte ( uint offset ) : byte
offset uint
Résultat byte

GetChar() public méthode

public GetChar ( uint offset ) : char
offset uint
Résultat char

GetInt() public méthode

public GetInt ( uint offset ) : int
offset uint
Résultat int

GetUInt() public méthode

public GetUInt ( uint offset ) : uint
offset uint
Résultat uint

GetUShort() public méthode

public GetUShort ( uint offset ) : ushort
offset uint
Résultat ushort

MemoryBlock() public méthode

public MemoryBlock ( uint length ) : System
length uint
Résultat System

Offset() public méthode

public Offset ( uint offset ) : MemoryBlock
offset uint
Résultat MemoryBlock

Release() public méthode

public Release ( ) : void
Résultat void

SetByte() public méthode

public SetByte ( uint offset, byte value ) : void
offset uint
value byte
Résultat void

SetChar() public méthode

public SetChar ( uint offset, char value ) : void
offset uint
value char
Résultat void

SetChars() public méthode

public SetChars ( uint offset, char value ) : void
offset uint
value char
Résultat void

SetInt() public méthode

public SetInt ( uint offset, int value ) : void
offset uint
value int
Résultat void

SetString() public méthode

public SetString ( uint offset, string value ) : void
offset uint
value string
Résultat void

SetUInt() public méthode

public SetUInt ( uint offset, uint value ) : void
offset uint
value uint
Résultat void

SetUShort() public méthode

public SetUShort ( uint offset, ushort value ) : void
offset uint
value ushort
Résultat void

this() public méthode

public this ( int index ) : byte
index int
Résultat byte