Phoenard
Public Member Functions | List of all members
FlashMemoryStream Class Reference

Reads flash memory as a data stream. More...

#include <FlashMemoryStream.h>

Inheritance diagram for FlashMemoryStream:

Public Member Functions

 FlashMemoryStream (const void *startAddress, uint32_t length=0xFFFFFFFF)
 Creates a new Flash Memory stream reading from at the address specified.
 
virtual int read ()
 
virtual int peek ()
 
virtual int available ()
 
virtual void flush ()
 
void seek (uint16_t position)
 Seeks the stream to a certain position in memory.
 
void reset (void)
 Resets the stream to the beginning.
 
size_t write (uint8_t val)
 Writing to flash memory is not supported - does nothing.
 

Detailed Description

Reads flash memory as a data stream.

Is used to allow RAM, SD and FLASH memory to be accessed as a Stream


The documentation for this class was generated from the following files: