mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
add bytearray:append(b)
This commit is contained in:
parent
22328a9f64
commit
20ef11e5a2
6 changed files with 42 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue