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 efc4ecd..fe8ee58 100644 --- a/sibs/SafeSerializer.hpp +++ b/sibs/SafeSerializer.hpp @@ -64,6 +64,11 @@ namespace sibs memcpy(&buffer[offset], data, size); } } + + void add(const char *data, usize size) + { + add((const u8*)data, size); + } std::vector<u8>& getBuffer() { |