Added BYTE_MASK const (0xFF)

This commit is contained in:
Collin Smith 2020-08-09 20:05:31 -07:00
parent 97ebbb1dbb
commit f62c038ffe

View File

@ -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 {