mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-20 09:17:29 +07:00
Made bitsToAdd final
This commit is contained in:
parent
f62c038ffe
commit
4e2cd665cd
@ -238,7 +238,7 @@ public class BitInput {
|
||||
final int bitsToAddCount = bits - bitsCached;
|
||||
final int overflowBits = Byte.SIZE - bitsToAddCount;
|
||||
final long nextByte = byteInput._read8u();
|
||||
long bitsToAdd = nextByte & MASKS[bitsToAddCount];
|
||||
final long bitsToAdd = nextByte & MASKS[bitsToAddCount];
|
||||
cache |= (bitsToAdd << bitsCached);
|
||||
final long overflow = (nextByte >>> bitsToAddCount) & MASKS[overflowBits];
|
||||
final long bitsOut = bitsCached & MASKS[bits];
|
||||
|
Loading…
Reference in New Issue
Block a user