BufferDataSource(char *data, unsigned int len)
BufferDataSource(const void *data, unsigned int len)
	BufferDataSource(char *data, unsigned int len)	{		// data can be NULL if len is also 0		assert(data!=0 || len==0);		buf = buf_ptr = reinterpret_cast<unsigned char*>(data);		size = len;	};