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