Commit d426dcdc authored by Dominik Charousset's avatar Dominik Charousset

Add getter for write position

parent 1094fd60
...@@ -81,6 +81,10 @@ public: ...@@ -81,6 +81,10 @@ public:
return buf_; return buf_;
} }
size_t write_pos() const noexcept {
return write_pos_;
}
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