mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-20 09:17:29 +07:00
Added BYTE_MASK const (0xFF)
This commit is contained in:
parent
97ebbb1dbb
commit
f62c038ffe
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user