add bytearray:append(b)

This commit is contained in:
MihailRis
2024-06-16 21:00:50 +03:00
parent 22328a9f64
commit 20ef11e5a2
6 changed files with 42 additions and 13 deletions
+1
View File
@@ -57,6 +57,7 @@ namespace files {
bool read(const fs::path&, char* data, size_t size);
std::unique_ptr<ubyte[]> read_bytes(const fs::path&, size_t& length);
std::vector<ubyte> read_bytes(const fs::path&);
std::string read_string(const fs::path& filename);
/// @brief Read JSON or BJSON file