| 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) |
nothing calls this directly
no outgoing calls
no test coverage detected