156 [[nodiscard]]
const char*
data()
const
158 return _buffer.
ptr<
char>();
166 return _buffer.
ptr<
char>();
172 [[nodiscard]]
size_t size()
const
174 return _buffer.
size();
T * ptr(size_t offset=0)
Gets a typed pointer to the specified given offset the start of the buffer.
Definition TDynamicBuffer.h:141
void resize(size_t sz, bool shrink=false)
Resizes the array but does leave the data in tact.
Definition TDynamicBuffer.h:461
size_t size()
Returns the byte size of the buffer.
Definition TDynamicBuffer.h:237
Definition Application.h:10