MCPcopy Index your code
hub / github.com/nodejs/node / isSinglebyteEncoding

Function isSinglebyteEncoding

lib/internal/encoding/single-byte.js:103–103  ·  view source on GitHub ↗
(enc)

Source from the content-addressed store, hash-verified

101
102const supported = new SafeSet(it(ObjectKeys(encodings))).add('iso-8859-8-i').add('x-user-defined');
103const isSinglebyteEncoding = (enc) => supported.has(enc);
104
105const decodersLoose = new SafeMap();
106const decodersFatal = new SafeMap();

Callers 1

constructorMethod · 0.85

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…