framework
|
Size frame. More...
#include <frame.hpp>
Public Types | |
using | pos_type = std::size_t |
Iterator position type. | |
Additional Inherited Members | |
Private Types inherited from framework::protocol_buffers::size_frame | |
using | pos_type = std::size_t |
Iterator position type. | |
Private Member Functions inherited from framework::protocol_buffers::size_frame | |
FRAMEWORK_ALWAYS_INLINE bool | write (char const *, std::size_t n) |
Write bytes. | |
template<std::size_t N> | |
FRAMEWORK_ALWAYS_INLINE bool | write (char const *) |
Write bytes. | |
FRAMEWORK_ALWAYS_INLINE bool | seekp (pos_type pos) |
Seek to position. More... | |
FRAMEWORK_ALWAYS_INLINE std::size_t | tellp () const |
Output iterator position. | |
FRAMEWORK_ALWAYS_INLINE void | skip (std::size_t n) |
Skip bytes. More... | |
FRAMEWORK_ALWAYS_INLINE | operator std::size_t () const |
Size conversion operator. More... | |
Size frame.
Provides a trivial stream implementation suitable for extracting the maximum serialized size of an object. This operation is typically much faster than computing the precise size of the object.