diff options
Diffstat (limited to 'sibs/SafeSerializer.hpp')
-rw-r--r-- | sibs/SafeSerializer.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sibs/SafeSerializer.hpp b/sibs/SafeSerializer.hpp index 95e7807..0d5435e 100644 --- a/sibs/SafeSerializer.hpp +++ b/sibs/SafeSerializer.hpp @@ -52,6 +52,11 @@ namespace sibs return buffer; } + std::vector<u8>& takeBuffer() + { + return buffer; + } + usize getSize() const { return buffer.size(); |