ByteInput#skipBytes now increments bitsRead

This commit is contained in:
Collin Smith 2020-08-08 12:04:51 -07:00
parent 99f0c11064
commit e62d3ec383

View File

@ -61,6 +61,7 @@ public class ByteInput {
* Skips <i>n</i> bytes by discarding them.
*/
public ByteInput skipBytes(int bytes) {
incrementBitsRead((long) bytes * Byte.SIZE);
buffer.skipBytes(bytes);
return this;
}