47 std::copy(
m_data + start,
m_data + start + length, buffer);
RawDataMemSource(uint32_t datalen)
Create a new RawDataMemSource that allocates datalen bytes.
virtual void readInto(uint8_t *buffer, uint32_t start, uint32_t length)
read data from the source
uint8_t * getRawData() const
Get a Pointer to the data You need to use this function to fill the class with meaningfull data...
virtual ~RawDataMemSource()
virtual uint32_t getSize() const
get the complete datasize