AUI Framework
develop
Cross-platform base for C++ UI apps
|
Concatenates multiple sequential input streams into one. More...
#include <AUI/IO/AConcatInputStream.h>
Public Member Functions | |
AConcatInputStream (ADeque< _< IInputStream > > inputStreams) noexcept | |
size_t | read (char *dst, size_t size) override |
Reads up to size bytes from stream. Blocking (waiting for new data) is allowed. | |
Public Member Functions inherited from IInputStream | |
size_t | read (std::span< std::byte > destination) |
Reads up to destination.size() bytes from stream. Blocking (waiting for new data) is allowed. | |
void | readExact (char *dst, size_t size) |
Reads exact size bytes from stream. Blocking (waiting for new data) is allowed. | |
template<typename T> | |
T | deserialize () |
template<typename T> | |
IInputStream & | operator>> (T &dst) |
template<typename T> | |
IInputStream & | operator>> (T &&dst) |
Concatenates multiple sequential input streams into one.
|
overridevirtual |
Reads up to size
bytes from stream. Blocking (waiting for new data) is allowed.
dst | destination buffer |
size | destination buffer's size. > 0 |
Implements IInputStream.