MCPcopy Create free account
hub / github.com/denoland/celld /

Class

crates/celld/js/node_stream.js:30–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 // utf8/utf16le decode statefully through TextDecoder; base64 keeps the
29 // 3-byte remainder; hex/latin1/ascii are alignment-free.
30 class StringDecoder {
31 constructor(encoding = "utf8") {
32 this.encoding = normalizeEncoding(encoding);
33 if (this.encoding === undefined)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected