TSDuck v3.40-4033
MPEG Transport Stream Toolkit
|
Abstract interface to write raw data on a stream. More...
#include <tsAbstractWriteStreamInterface.h>
Public Member Functions | |
virtual bool | writeStream (const void *addr, size_t size, size_t &written_size, Report &report)=0 |
Write data to the stream. | |
Abstract interface to write raw data on a stream.
|
pure virtual |
Write data to the stream.
All bytes are written to the stream, blocking or retrying when necessary.
[in] | addr | Address of the data to write. |
[in] | size | Size in bytes of the data to write. |
[out] | written_size | Actually written size in bytes. Can be less than size in case of error in the middle of the write. |
[in,out] | report | Where to report errors. |
Implemented in ts::ForkPipe.