Add serializer::get

This commit is contained in:
Vinnie Falco
2017-07-20 08:15:30 -07:00
parent db59a92011
commit c52ddea11d
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -309,6 +309,13 @@ public:
explicit
serializer(value_type& msg, ChunkDecorator const& decorator);
/// Returns the message being serialized
value_type&
get()
{
return m_;
}
/// Returns the serialized buffer size limit
std::size_t
limit() const