Go to the documentation of this file.
17 #if !__APPLE__ && !__FreeBSD__ && !__VXWORKS__
21 #endif // if !__APPLE__ && !__FreeBSD__ && !__VXWORKS__
23 #define BUFFER_START_LENGTH 200
29 const size_t bufferSize)
32 , m_internalBuffer(false)
68 incBufferSize = min_size_inc;
73 size_ = incBufferSize;
84 size_ += incBufferSize;
char * buffer_
Pointer to the stream of bytes that contains the serialized data.
bool resize(size_t min_size_inc)
This function resizes the raw buffer. It will call the user's defined function for this purpose.
#define BUFFER_START_LENGTH
span_constexpr std::size_t size(span< T, Extent > const &spn)
bool m_internalBuffer
This variable indicates if the managed buffer is internal or is from the user.
bool reserve(size_t size)
This function reserves memory for the internal raw buffer. It will only do so if the buffer is not ye...
size_t size_
The total size of the user's buffer.
virtual ~FastBuffer()
Default destructor.
FastBuffer()=default
This constructor creates an internal stream and assigns it to the eprosima::fastcdr::FastBuffers obje...
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:44