API File.NVM: Difference between revisions
Appearance
XML import API auto-gen |
XML import |
||
| Line 2: | Line 2: | ||
Reads from a file as though a block of NVM | Reads from a file as though a block of NVM | ||
==Functions provided for this class== | |||
{||-|[[API File.NVM.Open|Open]]|Opens the existing file as a block of non-volatile memory|-|[[API File.NVM.Create|Create]]|Creates the new file as a block of non-volatile memory|-|[[API File.NVM.ReadByte|ReadByte]]|Reads a single byte from the NVM, -1 if empty|-|[[API File.NVM.WriteByte|WriteByte]]|Writes a single byte to the NVM multiple times|-|[[API File.NVM.ReadArray|ReadArray]]|Reads an array from the NVM, returns elements read|-|[[API File.NVM.WriteArray|WriteArray]]|Writes an array to the NVM|} | {| | ||
|- | |||
|width="35%"|[[API File.NVM.Open|Open]] | |||
|Opens the existing file as a block of non-volatile memory | |||
|- | |||
|width="35%"|[[API File.NVM.Create|Create]] | |||
|Creates the new file as a block of non-volatile memory | |||
|- | |||
|width="35%"|[[API File.NVM.ReadByte|ReadByte]] | |||
|Reads a single byte from the NVM, -1 if empty | |||
|- | |||
|width="35%"|[[API File.NVM.WriteByte|WriteByte]] | |||
|Writes a single byte to the NVM multiple times | |||
|- | |||
|width="35%"|[[API File.NVM.ReadArray|ReadArray]] | |||
|Reads an array from the NVM, returns elements read | |||
|- | |||
|width="35%"|[[API File.NVM.WriteArray|WriteArray]] | |||
|Writes an array to the NVM | |||
|} | |||
==Examples== | |||
''No examples available'' | |||
Revision as of 21:14, 11 May 2013
<sidebar>API contents</sidebar> Reads from a file as though a block of NVM
Functions provided for this class
| Open | Opens the existing file as a block of non-volatile memory |
| Create | Creates the new file as a block of non-volatile memory |
| ReadByte | Reads a single byte from the NVM, -1 if empty |
| WriteByte | Writes a single byte to the NVM multiple times |
| ReadArray | Reads an array from the NVM, returns elements read |
| WriteArray | Writes an array to the NVM |
Examples
No examples available