2 writes to _remaining
PresentationCore (2)
Shared\MS\Internal\Ink\BitStream.cs (2)
477
_remaining
= Native.BitsPerByte - (countOfBits - _remaining);
489
_remaining
-= countOfBits;
7 references to _remaining
PresentationCore (7)
Shared\MS\Internal\Ink\BitStream.cs (7)
455
if (
_remaining
> 0)
461
if (countOfBits >
_remaining
)
463
buffer |= (byte)((bits & (0xFF >> (Native.BitsPerByte - countOfBits))) >> (countOfBits -
_remaining
));
468
buffer |= (byte)((bits & (0xFF >> (Native.BitsPerByte - countOfBits))) << (
_remaining
- countOfBits));
474
if (countOfBits >
_remaining
)
477
_remaining = Native.BitsPerByte - (countOfBits -
_remaining
);
481
buffer = (byte)(bits <<
_remaining
);