Fixed the runtime assertion that data_buffer_t has a certain size, added a static assertion and a runtime assertion that the value passed to data_buffer_t::create is in range.