This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Description
Here is the code of InputBuffer::Skip:
void Skip(uint32_t size)
{
if (size > _blob.length() - _pointer)
{
return;
}
_pointer += size;
}
It can be seen that when the size is too large, it simply does nothing - neither throw an exception nor return a fail code. Is this behavior by design? Given that the _pointer member is protected, there is no way we can know if the skip success after calling it.