9 writes to bitsInBuffer
System (9)
sys\System\IO\compression\InputBuffer.cs (9)
52
bitsInBuffer
+= 8;
60
bitsInBuffer
+= 8;
76
bitsInBuffer
+= 8;
81
bitsInBuffer
+= 8;
87
bitsInBuffer
+= 8;
108
bitsInBuffer
-= count;
129
bitsInBuffer
-= 8;
176
bitsInBuffer
-= n;
182
bitsInBuffer
= bitsInBuffer - (bitsInBuffer % 8);
17 references to bitsInBuffer
System (17)
sys\System\IO\compression\InputBuffer.cs (17)
28
return
bitsInBuffer
;
35
return(end - start) + (
bitsInBuffer
/ 8);
46
if (
bitsInBuffer
< count) {
51
bitBuffer |= (uint)buffer[start++] <<
bitsInBuffer
;
54
if (
bitsInBuffer
< count) {
59
bitBuffer |= (uint)buffer[start++] <<
bitsInBuffer
;
73
if(
bitsInBuffer
< 8) {
75
bitBuffer |= (uint)buffer[start++] <<
bitsInBuffer
;
80
bitBuffer |= (uint)buffer[start++] <<
bitsInBuffer
;
84
else if(
bitsInBuffer
< 16) {
86
bitBuffer |= (uint)buffer[start++] <<
bitsInBuffer
;
122
Debug.Assert( (
bitsInBuffer
% 8) ==0, "");
126
while (
bitsInBuffer
> 0 && length > 0) {
174
Debug.Assert(
bitsInBuffer
>= n, "No enough bits in the buffer, Did you call EnsureBitsAvailable?");
181
bitBuffer >>= (
bitsInBuffer
% 8);
182
bitsInBuffer =
bitsInBuffer
- (
bitsInBuffer
% 8);