mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
add ByteReader.get(dst, size) method
This commit is contained in:
parent
f884455299
commit
229456ced5
2 changed files with 10 additions and 0 deletions
|
|
@ -52,6 +52,8 @@ public:
|
|||
ByteReader(const ubyte* data);
|
||||
|
||||
void checkMagic(const char* data, size_t size);
|
||||
/// @brief Get N bytes
|
||||
void get(char* dst, size_t size);
|
||||
/// @brief Read one byte (unsigned 8 bit integer)
|
||||
ubyte get();
|
||||
/// @brief Read one byte (unsigned 8 bit integer) without pointer move
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue