
Public Member Functions | |
| int | Open (const char *fileName) |
| void | Close () |
| size_t | Size () |
| int | In (uint8_t *data, size_t size) |
Class for presenting a file as a input stream.
Definition at line 383 of file ymodem_main.cpp.
| int InFile::Open | ( | const char * | fileName | ) |
Open stream for reading a file.
| fileName | Name of the file to read. |
Definition at line 398 of file ymodem_main.cpp.
| void InFile::Close | ( | ) |
Close the stream.
Definition at line 422 of file ymodem_main.cpp.
| size_t InFile::Size | ( | ) |
Read data from the stream.
| [out] | data | Pointer to buffer to hold data read from stream. |
| size | Maximum size of data to read. |
Implements YModemTx::InStream.
Definition at line 449 of file ymodem_main.cpp.
1.6.1