C# Class FAT32.MemoryDiskInterface

Inheritance: DiskInterface
Exibir arquivo Open project: Wiladams/NewTOAPIA Class Usage Examples

Private Properties

Property Type Description
GetSectorByteOffset int
MemoryDiskInterface System

Public Methods

Method Description
CreateFromBytes ( int numberOfBytes ) : MemoryDiskInterface
ReadSector ( uint sector, byte buffer ) : bool
WriteSector ( uint sector, byte buffer ) : bool

Private Methods

Method Description
GetSectorByteOffset ( uint sector ) : int
MemoryDiskInterface ( int numberOfBytes ) : System

Method Details

CreateFromBytes() public static method

public static CreateFromBytes ( int numberOfBytes ) : MemoryDiskInterface
numberOfBytes int
return MemoryDiskInterface

ReadSector() public method

public ReadSector ( uint sector, byte buffer ) : bool
sector uint
buffer byte
return bool

WriteSector() public method

public WriteSector ( uint sector, byte buffer ) : bool
sector uint
buffer byte
return bool