示例#1
0
 internal void InitializeDecoder()
 {
     _state = Interop.Brotli.BrotliDecoderCreateInstance(IntPtr.Zero, IntPtr.Zero, IntPtr.Zero);
     if (_state.IsInvalid)
     {
         throw new IOException(SR.BrotliDecoder_Create);
     }
 }
示例#2
0
 internal static partial BOOL BrotliDecoderIsFinished(SafeBrotliDecoderHandle state);
示例#3
0
 internal static unsafe partial int BrotliDecoderDecompressStream(
     SafeBrotliDecoderHandle state, ref nuint availableIn, byte **nextIn,
     ref nuint availableOut, byte **nextOut, out nuint totalOut);
示例#4
0
 internal static extern BOOL BrotliDecoderIsFinished(SafeBrotliDecoderHandle state);
 internal static extern unsafe int BrotliDecoderDecompressStream(
     SafeBrotliDecoderHandle state, ref size_t availableIn, byte **nextIn,
     ref size_t availableOut, byte **nextOut, out size_t totalOut);
示例#6
0
 internal static bool BrotliDecoderIsFinished(SafeBrotliDecoderHandle state) =>
 throw new PlatformNotSupportedException();
示例#7
0
 internal static unsafe int BrotliDecoderDecompressStream(
     SafeBrotliDecoderHandle state, ref size_t availableIn, byte **nextIn,
     ref size_t availableOut, byte **nextOut, out size_t totalOut) =>
 throw new PlatformNotSupportedException();