Implemented a serialize and a deserialize routine

This commit is contained in:
2023-04-05 15:06:52 -04:00
parent cb370239d5
commit 74f7686b85
5 changed files with 276 additions and 105 deletions

View File

@@ -252,8 +252,8 @@ public:
StreamBuffer(const char *s, int64_t len);
// Construct a streambuffer that reads from an external block of bytes.
StreamBuffer(const eng::string &data);
StreamBuffer(std::string_view data);
// Delete a StreamBuffer.
~StreamBuffer();