MCPcopy
hub / github.com/google/brotli / close

Function close

js/decode.ts:164–172  ·  view source on GitHub ↗
(s: State)

Source from the content-addressed store, hash-verified

162 return 0;
163}
164function close(s: State): number {
165 if (s.runningState === 0) {
166 return makeError(s, -25);
167 }
168 if (s.runningState > 0) {
169 s.runningState = 11;
170 }
171 return 0;
172}
173function decodeVarLenUnsignedByte(s: State): number {
174 if (s.bitOffset >= 16) {
175 s.accumulator32 = (s.shortBuffer[s.halfOffset++] << 16) | (s.accumulator32 >>> 16);

Callers 1

brotliDecodeFunction · 0.70

Calls 1

makeErrorFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…