Samraksh.eMote.NonVolatileMemory Namespace : DataStore Class |
The following tables list the members exposed by DataStore.
Name | Description | |
---|---|---|
![]() |
FreeBytes | Number of bytes of space available to store data |
![]() |
MaxAllocationSize | Maximum allocation size possible in bytes |
![]() |
Size | Size of DataStore in bytes |
![]() |
UsedBytes | Number of bytes of space already occupied by data |
Name | Description | |
---|---|---|
![]() |
DeleteAllData | Deletes all data references from DataStore. Does not actually erase the data, but marks them as inactive. |
![]() |
EraseAllData | Deletes all data references from DataStore and erases them. |
![]() ![]() |
Instance | Multiton pattern. This allows DataStore to be initialized with different block storage devices such as NOR, NAND etc. http://en.wikipedia.org/wiki/Multiton_pattern |
![]() |
Read | Overloaded. Read data array from DataStore starting from specified address. |
![]() |
ReadAllDataReferences | Fills an array with data references from specified offset. |
![]() |
ReadRaw | Overloaded. Read data array from DataStore starting from specified address. |
![]() |
Write | Overloaded. Write data array to DataStore starting from specified address |
![]() |
WriteRaw | Overloaded. Write data array to DataStore starting from specified address |