Home
last modified time | relevance | path

Searched refs:textEncoder (Results 1 – 8 of 8) sorted by relevance

/third_party/node/deps/undici/src/lib/fetch/
Dbody.js29 const textEncoder = new TextEncoder() constant
54 typeof source === 'string' ? textEncoder.encode(source) : source
131 const chunk = textEncoder.encode(prefix +
137 const chunk = textEncoder.encode(`${prefix}; name="${escape(normalizeLinefeeds(name))}"` +
151 const chunk = textEncoder.encode(`--${boundary}--`)
Dresponse.js31 const textEncoder = new TextEncoder('utf-8') constant
61 const bytes = textEncoder.encode(
/third_party/protobuf/js/experimental/runtime/kernel/
Dtextencoding_test.js33 const textEncoder = new TextEncoder('utf-8'); constant
46 return new Pair(s, textEncoder.encode(s).buffer);
Dreader_test.js242 const textEncoder = new TextEncoder('utf-8');
243 return textEncoder.encode(s);
Dwriter.js25 const textEncoder = new goog.global['TextEncoder']('utf-8');
26 return s => s.length === 0 ? new Uint8Array(0) : textEncoder.encode(s);
/third_party/node/doc/api/
Dutil.md1903 ### `textEncoder.encode([input])`
1911 ### `textEncoder.encodeInto(src, dest)`
1929 ### `textEncoder.encoding`
/third_party/node/deps/corepack/dist/lib/
Dcorepack.cjs9981 var textEncoder = new TextEncoder();
9992 const buffer = typeof source === "string" ? textEncoder.encode(source) : source;
10030 … const chunk2 = textEncoder.encode(prefix + `; name="${escape(normalizeLinefeeds(name))}"\r
10037 …const chunk2 = textEncoder.encode(`${prefix}; name="${escape(normalizeLinefeeds(name))}"` + (value…
10049 const chunk = textEncoder.encode(`--${boundary}--`);
/third_party/node/doc/changelogs/
DCHANGELOG_V18.md1974 …/github.com/nodejs/node/commit/8113220690)] - **doc**: pass string to `textEncoder.encode` as inpu…