19 #ifndef FASTUIDRAW_DATA_BUFFER_HPP 20 #define FASTUIDRAW_DATA_BUFFER_HPP 86 DataBuffer(
unsigned int num_bytes, uint8_t init = uint8_t(0)):
DataBuffer(c_array< const uint8_t > init_data)
all classes and functions of FastUIDraw are in the namespace fastuidraw.
Represents a buffer directly stored in memory.
DataBuffer is an implementation of DataBufferBase where the data is directly backed by memory...
DataBuffer(c_string filename)
DataBufferBackingStore(c_string filename)
c_array< uint8_t > data(void)
DataBuffer(unsigned int num_bytes, uint8_t init=uint8_t(0))
const char * c_string
Conveniant typedef for C-style strings.
Base class for passing around buffers of data; derived classes have the responsibility of maintaining...
file data_buffer_base.hpp