Inheritance diagram for InFile:

Definition at line 377 of file ymodem_main.cpp.
Public Member Functions | |
| InFile () | |
| int | Open (const char *fileName) |
| void | Close () |
| size_t | Size () |
| int | In (uint8_t *data, size_t size) |
Private Attributes | |
| FILE * | File |
| size_t | TotalSize |
| size_t | TransferredSize |
|
|
Open stream for reading a file.
Definition at line 392 of file ymodem_main.cpp. |
|
|
Close the stream. Definition at line 416 of file ymodem_main.cpp. |
|
|
Return the size of the file.
Definition at line 430 of file ymodem_main.cpp. |
|
||||||||||||
|
Read data from the stream.
Implements YModemTx::InStream. Definition at line 443 of file ymodem_main.cpp. |
1.4.4