34 #include "SILLYMemoryDataSource.h"
36 #ifndef SILLY_OPT_INLINE
38 #include "SILLYMemoryDataSource.icpp"
47 : d_bytes(data), d_size(size)
49 assert(data &&
"ASSERT: data point to an invalid memory");
50 assert(size &&
"ASSERT: size is equal to 0");
Simple Image Loading LibrarY namespace.
unsigned char byte
Typename for a byte.
MemoryDataSource(const byte *data, size_t size)
Create a data source from an existing memory area.