add ByteReader::remaining()

This commit is contained in:
MihailRis
2024-09-12 16:22:32 +03:00
parent 8be0ed819e
commit 8589cae300
2 changed files with 8 additions and 2 deletions
+2
View File
@@ -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);