mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-20 09:17:29 +07:00
ByteInput#skipBytes now increments bitsRead
This commit is contained in:
parent
99f0c11064
commit
e62d3ec383
@ -61,6 +61,7 @@ public class ByteInput {
|
|||||||
* Skips <i>n</i> bytes by discarding them.
|
* Skips <i>n</i> bytes by discarding them.
|
||||||
*/
|
*/
|
||||||
public ByteInput skipBytes(int bytes) {
|
public ByteInput skipBytes(int bytes) {
|
||||||
|
incrementBitsRead((long) bytes * Byte.SIZE);
|
||||||
buffer.skipBytes(bytes);
|
buffer.skipBytes(bytes);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user