MCPcopy
hub / github.com/fb55/htmlparser2 / close

Method close

src/WebWritableStream.ts:37–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 );
36 },
37 close() {
38 // Flush any remaining bytes in the decoder
39 const remaining = decoder.decode();
40 if (remaining) {
41 parser.write(remaining);
42 }
43 parser.end();
44 },
45 });
46 }
47}

Callers 2

startFunction · 0.80

Calls 2

writeMethod · 0.45
endMethod · 0.45

Tested by 1

startFunction · 0.64