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

Function lazyStringDecoder

lib/internal/encoding.js:423–427  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

421
422let StringDecoder;
423function lazyStringDecoder() {
424 if (StringDecoder === undefined)
425 ({ StringDecoder } = require('string_decoder'));
426 return StringDecoder;
427}
428
429class TextDecoder {
430 constructor(encoding = 'utf-8', options = kEmptyObject) {

Callers 1

#prepareConverterMethod · 0.85

Calls 1

requireFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…