framework
|
Length delimited input frame wrapper. More...
#include <frame.hpp>
Inherits reference_wrapper< Stream >.
Public Member Functions | |
length_delimited_input_frame (Stream &stream, std::size_t size) | |
Frame constructor. More... | |
FRAMEWORK_ALWAYS_INLINE bool | read (char *s, std::size_t n) |
Read bytes. | |
template<std::size_t N> | |
FRAMEWORK_ALWAYS_INLINE bool | read (char *s) |
Read bytes. | |
FRAMEWORK_ALWAYS_INLINE std::size_t | size () const |
Frame size. More... | |
Length delimited input frame wrapper.
Provides a length-delimited wrapper around an arbitrary stream type.
|
inline |
Frame constructor.
|
inline |
Frame size.