C# Class KFS.Disks.Image

Represents a disk image stored in a file, allowing the filesystem to be loaded as if it were a physical disk.
Inheritance: IFileSystemStore, IDescribable, IHasSectors
Datei anzeigen Open project: Alex-Jaeger/BitcoinFindAndRecover

Private Properties

Property Type Description
Image KFS.DataStream

Public Methods

Method Description
Close ( ) : void
CreateImage ( IImageable stream, String path, ImageCallback callback ) : Image
GetBytes ( ulong offset, ulong length ) : byte[]
GetSectorSize ( ) : ulong
GetSectorStatus ( ulong sectorNum ) : SectorStatus
LoadFileSystem ( ) : void
Open ( ) : void
ToString ( ) : string

Private Methods

Method Description
Image ( ) : KFS.DataStream

Method Details

Close() public method

public Close ( ) : void
return void

CreateImage() public static method

public static CreateImage ( IImageable stream, String path, ImageCallback callback ) : Image
stream IImageable
path String
callback ImageCallback
return Image

GetBytes() public method

public GetBytes ( ulong offset, ulong length ) : byte[]
offset ulong
length ulong
return byte[]

GetSectorSize() public method

public GetSectorSize ( ) : ulong
return ulong

GetSectorStatus() public method

public GetSectorStatus ( ulong sectorNum ) : SectorStatus
sectorNum ulong
return SectorStatus

LoadFileSystem() public method

public LoadFileSystem ( ) : void
return void

Open() public method

public Open ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string