C# Класс SharpOS.Kernel.MemoryBlock

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Allocate() публичный Метод

public Allocate ( uint count ) : void
count uint
Результат void

Fill() публичный Метод

public Fill ( uint pattern ) : void
pattern uint
Результат void

GetByte() публичный Метод

public GetByte ( uint offset ) : byte
offset uint
Результат byte

GetChar() публичный Метод

public GetChar ( uint offset ) : char
offset uint
Результат char

GetInt() публичный Метод

public GetInt ( uint offset ) : int
offset uint
Результат int

GetUInt() публичный Метод

public GetUInt ( uint offset ) : uint
offset uint
Результат uint

GetUShort() публичный Метод

public GetUShort ( uint offset ) : ushort
offset uint
Результат ushort

MemoryBlock() публичный Метод

public MemoryBlock ( uint length ) : System
length uint
Результат System

Offset() публичный Метод

public Offset ( uint offset ) : MemoryBlock
offset uint
Результат MemoryBlock

Release() публичный Метод

public Release ( ) : void
Результат void

SetByte() публичный Метод

public SetByte ( uint offset, byte value ) : void
offset uint
value byte
Результат void

SetChar() публичный Метод

public SetChar ( uint offset, char value ) : void
offset uint
value char
Результат void

SetChars() публичный Метод

public SetChars ( uint offset, char value ) : void
offset uint
value char
Результат void

SetInt() публичный Метод

public SetInt ( uint offset, int value ) : void
offset uint
value int
Результат void

SetString() публичный Метод

public SetString ( uint offset, string value ) : void
offset uint
value string
Результат void

SetUInt() публичный Метод

public SetUInt ( uint offset, uint value ) : void
offset uint
value uint
Результат void

SetUShort() публичный Метод

public SetUShort ( uint offset, ushort value ) : void
offset uint
value ushort
Результат void

this() публичный Метод

public this ( int index ) : byte
index int
Результат byte