Property | Type | Description | |
---|---|---|---|
mem | byte[] | ||
totalBlocks | uint |
Method | Description | |
---|---|---|
RamDiskDevice ( uint blocks ) : Mosa.DeviceSystem |
Initializes a new instance of the RamDiskDevice class.
|
|
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.
|
public RamDiskDevice ( uint blocks ) : Mosa.DeviceSystem | ||
blocks | uint | The blocks. |
return | Mosa.DeviceSystem |
public ReadBlock ( uint block, uint count, byte data ) : bool | ||
block | uint | The block. |
count | uint | The count. |
data | byte | The data. |
return | bool |
public ReadBlock ( uint block, uint count ) : byte[] | ||
block | uint | The block. |
count | uint | The count. |
return | byte[] |
public WriteBlock ( uint block, uint count, byte data ) : bool | ||
block | uint | The block. |
count | uint | The count. |
data | byte | The data. |
return | bool |