Inheritance diagram for OutFile:

Definition at line 468 of file ymodem_main.cpp.
Public Member Functions | |
| OutFile () | |
| int | Open (const char *fileName, size_t size) |
| void | Close () |
| int | Out (const uint8_t *data, size_t size) |
Private Attributes | |
| FILE * | File |
| size_t | TotalSize |
| size_t | TransferredSize |
|
||||||||||||
|
Open stream for writing to a file. 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.
Implements YModemRx::OutStream. Definition at line 487 of file ymodem_main.cpp. |
|
|
Close the stream. Definition at line 509 of file ymodem_main.cpp. |
|
||||||||||||
|
Write data to the stream.
Implements YModemRx::OutStream. Definition at line 526 of file ymodem_main.cpp. |
1.4.4