|
framework
|
Size frame. More...
#include <frame.hpp>
Public Types | |
| using | pos_type = std::size_t |
| Iterator position type. | |
Public Member Functions | |
| 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 serialized size of an object.
|
inlineexplicit |
Size conversion operator.
|
inline |
Seek to position.
Sets the output iterator to the provided position. Note that the definition used here may not be compatible with that of basic_ostream::seekg.
| pos | new output iterator position |
|
inline |
Skip bytes.
Advances the iterator position by n bytes.
1.8.3.1-20130402