4 writes to bytesUsed
System (4)
sys\System\IO\compression\OutputWindow.cs (4)
28
++
bytesUsed
;
37
bytesUsed
+= length;
86
bytesUsed
+= copied;
126
bytesUsed
-= copied;
9 references to bytesUsed
System (9)
sys\System\IO\compression\OutputWindow.cs (9)
25
Debug.Assert(
bytesUsed
< WindowSize, "Can't add byte when window is full!");
33
Debug.Assert((
bytesUsed
+ length) <= WindowSize, "Not enough space");
67
length = Math.Min(Math.Min(length, WindowSize -
bytesUsed
), input.AvailableBytes);
93
return WindowSize -
bytesUsed
;
100
return
bytesUsed
;
108
if (length >
bytesUsed
) { // we can copy all the decompressed bytes out
110
length =
bytesUsed
;
112
copy_end = (end -
bytesUsed
+ length) & WindowMask; // copy length of bytes
127
Debug.Assert(
bytesUsed
>= 0, "check this function and find why we copied more bytes than we have");