diff options
-rw-r--r-- | project.conf | 2 | ||||
-rw-r--r-- | sibs/SafeSerializer.hpp | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/project.conf b/project.conf index 6f9e677..c143277 100644 --- a/project.conf +++ b/project.conf @@ -1,6 +1,6 @@ [package] name = "sibs-serializer" -version = "1.0.1" +version = "1.0.2" type = "static" platforms = ["any"] tests = "tests" diff --git a/sibs/SafeSerializer.hpp b/sibs/SafeSerializer.hpp index 9576053..efc4ecd 100644 --- a/sibs/SafeSerializer.hpp +++ b/sibs/SafeSerializer.hpp @@ -69,6 +69,11 @@ namespace sibs { return buffer; } + + usize getSize() const + { + return buffer.size(); + } private: std::vector<u8> buffer; }; |