#include <ymodem_rx.h>

Public Member Functions | |
| virtual int | Open (const char *fileName, size_t size)=0 |
| virtual int | Out (const uint8_t *data, size_t size)=0 |
| virtual | ~OutStream () |
Abstract class representing a stream of data being read.
Definition at line 51 of file ymodem_rx.h.
| virtual YModemRx::OutStream::~OutStream | ( | ) | [virtual] |
Empty destructor to avoid compiler warnings.
Definition at line 78 of file ymodem_rx.h.
| virtual int YModemRx::OutStream::Open | ( | const char * | fileName, | |
| size_t | size | |||
| ) | [pure virtual] |
Open the stream.
If no data has yet been written to the stream, this function may be called a second time in order to update the file size.
| fileName | Name for the file being received. | |
| size | Size of data being received. |
Implemented in YModemRx::OutBlock0, and OutFile.
Write data to the stream.
| data | Pointer to data to write. | |
| size | Size of data. |
Implemented in YModemRx::OutBlock0, and OutFile.
1.6.1