The File Receiver class creates a binary file source for Agora.
More...
#include <file_receiver.h>
The File Receiver class creates a binary file source for Agora.
◆ FileReceiver()
FileReceiver::FileReceiver |
( |
std::string & |
file_name | ) |
|
|
explicit |
◆ ~FileReceiver()
FileReceiver::~FileReceiver |
( |
| ) |
|
|
override |
◆ Load()
size_t FileReceiver::Load |
( |
unsigned char * |
destination, |
|
|
size_t |
requested_bytes |
|
) |
| |
|
finalvirtual |
◆ data_available_
size_t FileReceiver::data_available_ |
|
private |
◆ data_start_offset_
size_t FileReceiver::data_start_offset_ |
|
private |
◆ data_stream_
std::ifstream FileReceiver::data_stream_ |
|
private |
◆ file_name_
std::string FileReceiver::file_name_ |
|
private |
◆ kFileStreamLocalRxBufSize
◆ kFileStreamRxSize
constexpr size_t FileReceiver::kFileStreamRxSize = (2048u) |
|
staticconstexpr |
◆ local_rx_buffer_
The documentation for this class was generated from the following files: