5 writes to _bytesUsed
System.IO.Compression (5)
System\IO\Compression\DeflateManaged\OutputWindow.cs (5)
29_bytesUsed = 0; 38++_bytesUsed; 47_bytesUsed += length; 110_bytesUsed += copied; 147_bytesUsed -= copied;
9 references to _bytesUsed
System.IO.Compression (9)
System\IO\Compression\DeflateManaged\OutputWindow.cs (9)
35Debug.Assert(_bytesUsed < WindowSize, "Can't add byte when window is full!"); 43Debug.Assert((_bytesUsed + length) <= WindowSize, "No Enough space"); 88length = Math.Min(Math.Min(length, WindowSize - _bytesUsed), input.AvailableBytes); 115public int FreeBytes => WindowSize - _bytesUsed; 118public int AvailableBytes => _bytesUsed; 125if (output.Length > _bytesUsed) 129output = output.Slice(0, _bytesUsed); 133copy_end = (_end - _bytesUsed + output.Length) & WindowMask; // copy length of bytes 148Debug.Assert(_bytesUsed >= 0, "check this function and find why we copied more bytes than we have");