MCPcopy Index your code
hub / github.com/nodejs/node / #encodeInto

Method #encodeInto

lib/internal/encoding.js:348–354  ·  view source on GitHub ↗
(input, dest)

Source from the content-addressed store, hash-verified

346 }
347
348 #encodeInto(input, dest) {
349 encodeInto(input, dest);
350 // We need to read from the binding here since the buffer gets refreshed
351 // from the snapshot.
352 const { 0: read, 1: written } = encodeIntoResults;
353 return { read, written };
354 }
355
356 get encoding() {
357 return this.#encoding;

Callers 1

encodeIntoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected