From e62d3ec383744bd79078e7a268d38f7452bb8df2 Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Sat, 8 Aug 2020 12:04:51 -0700 Subject: [PATCH] ByteInput#skipBytes now increments bitsRead --- core/src/com/riiablo/io/nio/ByteInput.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/com/riiablo/io/nio/ByteInput.java b/core/src/com/riiablo/io/nio/ByteInput.java index 7eb8972f..d33c9907 100644 --- a/core/src/com/riiablo/io/nio/ByteInput.java +++ b/core/src/com/riiablo/io/nio/ByteInput.java @@ -61,6 +61,7 @@ public class ByteInput { * Skips n bytes by discarding them. */ public ByteInput skipBytes(int bytes) { + incrementBitsRead((long) bytes * Byte.SIZE); buffer.skipBytes(bytes); return this; }