XipZ
Mini packer ▶►▸ for small programs.
|
Input data type. More...
#include <data.hh>
Public Member Functions | |
Data (const std::vector< uint8_t > &inp) | |
Constructor with raw binary data as input. More... | |
uint16_t | get_loadaddr () const |
get load address of data More... | |
std::vector< uint8_t >::size_type | size () const |
get data size More... | |
uint8_t | operator[] (unsigned int i) const |
std::vector< uint8_t >::const_iterator | begin () const |
std::vector< uint8_t >::const_iterator | end () const |
Protected Attributes | |
uint16_t | loadaddr |
original load address | |
std::vector< uint8_t > | data |
binary data without the load address | |
Input data type.
This class stores the loaded data and extracts the original load address. The data can be accessed via the public data member data.
|
inline |
|
inline |
|
inline |