5 #ifndef __pinocchio_serialization_static_buffer_hpp__ 6 #define __pinocchio_serialization_static_buffer_hpp__ 63 #endif // ifndef __pinocchio_serialization_static_buffer_hpp__
std::vector< char > m_data
size_t size() const
Returns the current size of the buffer.
char * data()
Returns the pointer on the data.
const char * data() const
Returns the pointer on the data (const version)
Static buffer with pre-allocated memory.
StaticBuffer(const size_t n)
.
void resize(const size_t new_size)
Increase the capacity of the vector to a value that's greater or equal to new_size.
Main pinocchio namespace.