#include <device.hpp>
Public Member Functions | |
ostream_device (std::ostream &out) | |
std::size_t | read (byte_t *, std::size_t) |
void | seek (long count, int whence) |
long int | tell () |
void | write (const byte_t *data, std::size_t count) |
template<typename T , std::size_t N> | |
void | write (const T(&buf)[N]) |
Writes array. | |
void | write_uint8 (uint8_t x) |
Writes byte. | |
void | write_uint16 (uint16_t x) |
Writes 16 bit little endian integer. | |
void | write_uint32 (uint32_t x) |
Writes 32 bit little endian integer. | |
void | flush () |
void | print_line (const std::string &line) |
Prints formatted ASCII text. | |
int | error () |
Output stream device