C# Класс Ext2.Block

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

Открытые свойства

Свойство Тип Описание
buffer byte[]

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

Метод Описание
Block ( uint offset, byte buffer ) : System
GetByte ( uint offset ) : byte
GetByteArray ( uint count, uint offset ) : byte[]
GetInt ( uint offset ) : int
GetString ( uint length, uint offset ) : string
GetUInt ( uint offset ) : uint
GetUIntArray ( uint count, uint offset ) : uint[]
GetUShort ( uint offset ) : ushort
SetByte ( uint offset, byte value ) : void
SetByteArray ( uint count, uint offset, byte values ) : void
SetInt ( uint offset, int value ) : void
SetUInt ( uint offset, uint value ) : void
SetUIntArray ( uint count, uint offset, uint values ) : void
SetUShort ( uint offset, ushort value ) : void

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

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

public Block ( uint offset, byte buffer ) : System
offset uint
buffer byte
Результат System

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

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

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

public GetByteArray ( uint count, uint offset ) : byte[]
count uint
offset uint
Результат byte[]

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

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

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

public GetString ( uint length, uint offset ) : string
length uint
offset uint
Результат string

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

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

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

public GetUIntArray ( uint count, uint offset ) : uint[]
count uint
offset uint
Результат uint[]

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

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

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

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

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

public SetByteArray ( uint count, uint offset, byte values ) : void
count uint
offset uint
values byte
Результат void

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

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

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

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

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

public SetUIntArray ( uint count, uint offset, uint values ) : void
count uint
offset uint
values uint
Результат void

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

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

Описание свойств

buffer публичное свойство

public byte[] buffer
Результат byte[]