7 writes to _buffer
System.IO.Compression (7)
System\IO\Compression\DeflateManaged\InputBuffer.cs (7)
47
_buffer
= _buffer.Slice(1);
58
_buffer
= _buffer.Slice(1);
82
_buffer
= _buffer.Slice(2);
88
_buffer
= _buffer.Slice(1);
97
_buffer
= _buffer.Slice(1);
151
_buffer
= _buffer.Slice(length);
189
_buffer
= buffer;
19 references to _buffer
System.IO.Compression (19)
System\IO\Compression\DeflateManaged\InputBuffer.cs (19)
28
public int AvailableBytes =>
_buffer
.Length + (_bitsInBuffer / 8);
46
_bitBuffer |= (uint)
_buffer
.Span[0] << _bitsInBuffer;
47
_buffer =
_buffer
.Slice(1);
57
_bitBuffer |= (uint)
_buffer
.Span[0] << _bitsInBuffer;
58
_buffer =
_buffer
.Slice(1);
77
if (
_buffer
.Length > 1)
79
Span<byte> span =
_buffer
.Span;
82
_buffer =
_buffer
.Slice(2);
85
else if (
_buffer
.Length != 0)
87
_bitBuffer |= (uint)
_buffer
.Span[0] << _bitsInBuffer;
88
_buffer =
_buffer
.Slice(1);
94
if (!
_buffer
.IsEmpty)
96
_bitBuffer |= (uint)
_buffer
.Span[0] << _bitsInBuffer;
97
_buffer =
_buffer
.Slice(1);
149
int length = Math.Min(output.Length,
_buffer
.Length);
150
_buffer
.Slice(0, length).CopyTo(output);
151
_buffer =
_buffer
.Slice(length);
176
public bool NeedsInput() =>
_buffer
.IsEmpty;
187
if (
_buffer
.IsEmpty)