C# Class Mosa.Utility.BootImage.BlockFileStream

Inheritance: Mosa.DeviceSystem.Device, IDiskDevice
Afficher le fichier Open project: tgiphil/MOSA-Project Class Usage Examples

Méthodes publiques

Свойство Type Description
BlockOffset uint

Protected Properties

Свойство Type Description
diskFile System.IO.FileStream

Méthodes publiques

Méthode Description
BlockFileStream ( string filename ) : System.IO

Initializes a new instance of the BlockFileStream class.

Dispose ( ) : void

Releases unmanaged and - optionally - managed resources

ReadBlock ( uint block, uint count, byte data ) : bool

Reads the block.

ReadBlock ( uint block, uint count ) : byte[]

Reads the block.

WriteBlock ( uint block, uint count, byte data ) : bool

Writes the block.

Method Details

BlockFileStream() public méthode

Initializes a new instance of the BlockFileStream class.
public BlockFileStream ( string filename ) : System.IO
filename string The filename.
Résultat System.IO

Dispose() public méthode

Releases unmanaged and - optionally - managed resources
public Dispose ( ) : void
Résultat void

ReadBlock() public méthode

Reads the block.
public ReadBlock ( uint block, uint count, byte data ) : bool
block uint The block.
count uint The count.
data byte The data.
Résultat bool

ReadBlock() public méthode

Reads the block.
public ReadBlock ( uint block, uint count ) : byte[]
block uint The block.
count uint The count.
Résultat byte[]

WriteBlock() public méthode

Writes the block.
public WriteBlock ( uint block, uint count, byte data ) : bool
block uint The block.
count uint The count.
data byte The data.
Résultat bool

Property Details

BlockOffset public_oe property

public uint BlockOffset
Résultat uint

diskFile protected_oe property

protected FileStream,System.IO diskFile
Résultat System.IO.FileStream