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
char * data()
Returns the pointer on the data.
Static buffer with pre-allocated memory.
const char * data() const
Returns the pointer on the data (const version)
StaticBuffer(const size_t n)
.
size_t size() const
Returns the current size of the buffer.
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.