diff --git a/core/src/com/riiablo/io/BitConstants.java b/core/src/com/riiablo/io/BitConstants.java index 45f936a9..2b5bf484 100644 --- a/core/src/com/riiablo/io/BitConstants.java +++ b/core/src/com/riiablo/io/BitConstants.java @@ -12,6 +12,7 @@ public class BitConstants { static final int MAX_SAFE_CACHED_BITS = Long.SIZE - Byte.SIZE; static final int BYTE_SHIFT = Integer.bitCount(Byte.SIZE - 1); + static final int BYTE_MASK = (1 << Byte.SIZE) - 1; static final long[] UNSIGNED_MASKS = new long[Long.SIZE]; static {