diff options
Diffstat (limited to 'src/core/buffer.h')
-rw-r--r-- | src/core/buffer.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/core/buffer.h b/src/core/buffer.h index ff39aff..f0cf76e 100644 --- a/src/core/buffer.h +++ b/src/core/buffer.h @@ -47,13 +47,17 @@ public: error pop(uint8_t &value); error pop(uint8_t &buffer, size_t size); - /* - * Subject to change - */ - std::string to_string() const; - std::string to_hex() const; }; +/** + * Converts a buffer to a string for convenience cases + */ +std::string convert_to_string(const buffer& buf); + +/** + * + */ + /* * A viewer class for buffers. * Working on the reference buffer invalidates the buffer view |