mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
add ByteReader::remaining()
This commit is contained in:
parent
8be0ed819e
commit
8589cae300
2 changed files with 8 additions and 2 deletions
|
|
@ -74,6 +74,8 @@ public:
|
|||
std::string getString();
|
||||
/// @return true if there is at least one byte remains
|
||||
bool hasNext() const;
|
||||
/// @return Number of remaining bytes in buffer
|
||||
size_t remaining() const;
|
||||
|
||||
const ubyte* pointer() const;
|
||||
void skip(size_t n);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue