20 mBuffer =
new char[mSize];
33 mBuffer =
new char[mSize];
104 mStart = mStart+bytes;
#define resip_assert(x)
This file needs to work for both C and C++ code.
static DataBuffer * own(char *data, size_t size, deallocator dealloc=ArrayDeallocator)
size_t offset(size_t bytes)
char * mutableData() noexcept
DataBuffer(const char *data, size_t size, deallocator dealloc=ArrayDeallocator)
char & operator[](size_t p)
const char * data() const noexcept
size_t & mutableSize() noexcept
size_t size() const noexcept
size_t truncate(size_t newSize)
void ArrayDeallocator(char *data)