meta: add c++ wrapper of core module

This commit is contained in:
2026-02-03 17:41:25 +00:00
parent e0efbd1ec4
commit 13136ecbd6
15 changed files with 682 additions and 3 deletions

View File

@@ -0,0 +1,23 @@
#ifndef BLUE_CORE_STRINGSTREAM_HPP_
#define BLUE_CORE_STRINGSTREAM_HPP_
#include <blue/core/stream.hpp>
namespace blue::core
{
class stringstream : public stream
{
public:
stringstream();
stringstream(char *buf, std::size_t max);
status reset();
status reset(char *buf, std::size_t max);
const char *get_ptr() const;
char *steal_ptr();
std::size_t get_length() const;
};
}
#endif