9 lines
253 B
C++
9 lines
253 B
C++
#include "outputDevice.h"
|
|
#include <ostream>
|
|
|
|
outputDevice::outputDevice(std::ostream& output): out(output) {}; //konstruktor
|
|
|
|
void outputDevice::write(uint8_t value) { //write
|
|
out.put(static_cast<char>(value));
|
|
out.flush();
|
|
}
|