MCPcopy Create free account
hub / github.com/rsc/tmp / BrotliDecoderDecompressStream

Function BrotliDecoderDecompressStream

brotli/dec_decode.c:2242–2722  ·  view source on GitHub ↗

Invariant: input stream is never overconsumed: - invalid input implies that the whole stream is invalid -> any amount of input could be read and discarded - when result is "needs more input", then at least one more byte is REQUIRED to complete decoding; all input data MUST be consumed by decoder, so client could swap the input buffer - when result is "needs more outpu

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

BrotliDecoderDecompressFunction · 0.85

Calls 15

WriteRingBufferFunction · 0.85
BrotliBitReaderUnloadFunction · 0.85
BrotliWarmupBitReaderFunction · 0.85
DecodeWindowBitsFunction · 0.85
DecodeMetaBlockLengthFunction · 0.85
DecodeVarLenUint8Function · 0.85
ReadHuffmanCodeFunction · 0.85
SafeReadBlockLengthFunction · 0.85
BitMaskFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…