C# Class Ext2.Block

Show file Open project: sharpos/SharpOS Class Usage Examples

Public Properties

Property Type Description
buffer byte[]

Public Methods

Method Description
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

Method Details

Block() public method

public Block ( uint offset, byte buffer ) : System
offset uint
buffer byte
return System

GetByte() public method

public GetByte ( uint offset ) : byte
offset uint
return byte

GetByteArray() public method

public GetByteArray ( uint count, uint offset ) : byte[]
count uint
offset uint
return byte[]

GetInt() public method

public GetInt ( uint offset ) : int
offset uint
return int

GetString() public method

public GetString ( uint length, uint offset ) : string
length uint
offset uint
return string

GetUInt() public method

public GetUInt ( uint offset ) : uint
offset uint
return uint

GetUIntArray() public method

public GetUIntArray ( uint count, uint offset ) : uint[]
count uint
offset uint
return uint[]

GetUShort() public method

public GetUShort ( uint offset ) : ushort
offset uint
return ushort

SetByte() public method

public SetByte ( uint offset, byte value ) : void
offset uint
value byte
return void

SetByteArray() public method

public SetByteArray ( uint count, uint offset, byte values ) : void
count uint
offset uint
values byte
return void

SetInt() public method

public SetInt ( uint offset, int value ) : void
offset uint
value int
return void

SetUInt() public method

public SetUInt ( uint offset, uint value ) : void
offset uint
value uint
return void

SetUIntArray() public method

public SetUIntArray ( uint count, uint offset, uint values ) : void
count uint
offset uint
values uint
return void

SetUShort() public method

public SetUShort ( uint offset, ushort value ) : void
offset uint
value ushort
return void

Property Details

buffer public property

public byte[] buffer
return byte[]