1 #ifndef FEDRawData_FEDRawData_h 2 #define FEDRawData_FEDRawData_h 21 typedef std::vector<unsigned char>
Data;
30 FEDRawData(
size_t newsize,
size_t wordsize = 8);
42 const unsigned char *
data()
const;
45 unsigned char *
data();
52 void resize(
size_t newsize,
size_t wordsize = 8);
size_t size() const
Lenght of the data buffer in bytes.
FEDRawData()
Default ctor.
std::vector< unsigned char > Data
void resize(size_t newsize, size_t wordsize=8)
FEDRawData & operator=(const FEDRawData &)=default
Assignment operator.
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.