19#include "IInputStream.h"
20#include "IOutputStream.h"
34 char mCircularBuffer[0x10000];
35 uint16_t mReaderPos = 0;
36 uint16_t mWriterPos = 0;
47 size_t read(
char* dst,
size_t size)
override;
48 void write(
const char* src,
size_t size)
override;
Represents a condition variable.
Definition: AConditionVariable.h:24
A thread safe buffer that converts an IInputStream to IOutputStream (and otherwise).
Definition: APipe.h:32
Definition: IOutputStream.h:20
virtual void write(const char *src, size_t size)=0
Writes exact size bytes to stream. Blocking (waiting for write all data) is allowed.
Basic syscall-based synchronization primitive.
Definition: AMutex.h:33