diff options
Diffstat (limited to 'src/utils/dynamic_buffer.h')
-rw-r--r-- | src/utils/dynamic_buffer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/dynamic_buffer.h b/src/utils/dynamic_buffer.h index b51345a..40ece26 100644 --- a/src/utils/dynamic_buffer.h +++ b/src/utils/dynamic_buffer.h @@ -46,6 +46,8 @@ class DynamicBuffer { return true; } + size_t size() const { return size_; } + private: std::unique_ptr<T[]> buffer_; size_t size_ = 0; |