Commit 90e64f0a authored by Dominik Charousset's avatar Dominik Charousset

Add getter for the byte buffer

parent 4fbe917b
...@@ -63,6 +63,16 @@ public: ...@@ -63,6 +63,16 @@ public:
error apply_raw(size_t num_bytes, void* data) override; error apply_raw(size_t num_bytes, void* data) override;
// -- properties -------------------------------------------------------------
buffer& buf() {
return buf_;
}
const buffer& buf() const {
return buf_;
}
protected: protected:
error apply_impl(int8_t&) override; error apply_impl(int8_t&) override;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment