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