#include <device.hpp>
Public Member Functions | |
| istream_device (std::istream &in) | |
| int | getc_unchecked () |
| char | getc () |
| std::size_t | read (byte_t *data, std::size_t count) |
| template<typename T , int N> | |
| void | read (T(&buf)[N]) |
| Reads array. | |
| uint8_t | read_uint8 () |
| Reads byte. | |
| uint16_t | read_uint16 () |
| Reads 16 bit little endian integer. | |
| uint32_t | read_uint32 () |
| Reads 32 bit little endian integer. | |
| void | seek (long count, int whence=SEEK_SET) |
| void | write (const byte_t *, std::size_t) |
| void | flush () |
Input stream device