|
libkeepass 0.2.0
KeePass key database importer/exporter library
|
A std::streambuf backed by a fixed-size std::array. More...
#include <stream.hh>
Public Member Functions | |
| array_iostreambuf (std::array< uint8_t, N > &buffer) | |
| Constructs a streambuf over the given array. | |
Protected Member Functions | |
| std::streampos | seekoff (std::streamoff off, std::ios_base::seekdir way, std::ios_base::openmode which) override |
| std::streampos | seekpos (std::streampos sp, std::ios_base::openmode which) override |
A std::streambuf backed by a fixed-size std::array.
Provides random-access read/write capability over an in-memory byte array, suitable for use with std::istream and std::ostream.
| N | The size of the backing array in bytes. |
|
inlineexplicit |
Constructs a streambuf over the given array.
| buffer | The backing array to read from and write to. |