Arbitrary fixed-size data. More...
#include <byte_array.hpp>
Public Member Functions | |
byte_array () | |
Zero-initialized byte array. | |
Array operators | |
value_type * | begin () |
value_type * | end () |
value_type & | operator[] (size_t i) |
const value_type * | begin () const |
const value_type * | end () const |
const value_type & | operator[] (size_t i) const |
Static Public Member Functions | |
static size_t | size () |
Size of the array. | |
Friends | |
std::ostream & | operator<< (std::ostream &o, const byte_array &b) |
Print byte array in hex. | |
Comparison operators | |
bool | operator== (const byte_array &x, const byte_array &y) |
bool | operator< (const byte_array &x, const byte_array &y) |
Arbitrary fixed-size data.
Used to represent fixed-sized data types that don't have a natural C++ representation as an array of bytes.