1 write to _state
System.IO.Compression.Brotli (1)
System\IO\Compression\dec\BrotliDecoder.cs (1)
38_state = Interop.Brotli.BrotliDecoderCreateInstance(IntPtr.Zero, IntPtr.Zero, IntPtr.Zero);
8 references to _state
System.IO.Compression.Brotli (8)
System\IO\Compression\dec\BrotliDecoder.cs (8)
31Debug.Assert(_state is null, "The window size must be configured before the native decoder is created."); 39if (_state.IsInvalid) 45Interop.Brotli.BrotliDecoderSetParameter(_state, BrotliDecoderParameter.LargeWindow, 1) == Interop.BOOL.FALSE) 54if (_state == null) 62_state?.Dispose(); 85Debug.Assert(_state != null); 111if (Interop.Brotli.BrotliDecoderIsFinished(_state) != Interop.BOOL.FALSE) 125int brotliResult = Interop.Brotli.BrotliDecoderDecompressStream(_state, ref availableInput, &inBytes, ref availableOutput, &outBytes, out _);