8 references to WindowSize
System.IO.Compression (8)
System\IO\Compression\DeflateManaged\OutputWindow.cs (8)
23private readonly byte[] _window = new byte[WindowSize]; // The window is 2^18 bytes 35Debug.Assert(_bytesUsed < WindowSize, "Can't add byte when window is full!"); 43Debug.Assert((_bytesUsed + length) <= WindowSize, "No Enough space"); 50int border = WindowSize - length; 88length = Math.Min(Math.Min(length, WindowSize - _bytesUsed), input.AvailableBytes); 92int tailLen = WindowSize - _end; 115public int FreeBytes => WindowSize - _bytesUsed; 143_window.AsSpan(WindowSize - tailLen, tailLen).CopyTo(output);