AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
PipeOutputStream Class Reference

Public Member Functions

 PipeOutputStream (Pipe pipe)
 
void write (const char *src, size_t size) override
 Writes exact size bytes to stream. Blocking (waiting for write all data) is allowed. More...
 
- Public Member Functions inherited from IOutputStream
template<typename T >
void write (const T &t)
 
template<typename T >
IOutputStreamoperator<< (const T &t)
 

Member Function Documentation

◆ write()

void PipeOutputStream::write ( const char *  src,
size_t  size 
)
overridevirtual

Writes exact size bytes to stream. Blocking (waiting for write all data) is allowed.

Sneaky exceptions
An implementation can throw any exception that subclasses AIOException.
Parameters
dstsource buffer
sizesource buffer's size. > 0

Implements IOutputStream.


The documentation for this class was generated from the following files:
Inheritance diagram for PipeOutputStream:
Collaboration diagram for PipeOutputStream: