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

Function validateDecoder

lib/internal/encoding.js:67–70  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

65} = binding;
66
67function validateDecoder(obj) {
68 if (obj == null || obj[kDecoder] !== true)
69 throw new ERR_INVALID_THIS('TextDecoder');
70}
71
72const CONVERTER_FLAGS_FLUSH = 0x1;
73const CONVERTER_FLAGS_FATAL = 0x2;

Callers 5

decodeMethod · 0.85
encodingFunction · 0.85
fatalFunction · 0.85
ignoreBOMFunction · 0.85
[inspect]Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…