Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fb55/htmlparser2
/ write
Method
write
src/WebWritableStream.ts:30–36 ·
view source on GitHub ↗
(chunk)
Source
from the content-addressed store, hash-verified
28
29
super({
30
write(chunk) {
31
parser.write(
32
typeof chunk ===
"string"
33
? chunk
34
: decoder.decode(chunk, streamOption),
35
);
36
},
37
close() {
38
// Flush any remaining bytes in the decoder
39
const
remaining = decoder.decode();
Callers
1
close
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected