Home
last modified time | relevance | path

Searched refs:bufferFrom (Results 1 – 6 of 6) sorted by relevance

/third_party/typescript/src/compiler/
Dsys.ts1379 /*@internal*/ bufferFrom?(input: string, encoding?: string): Buffer; method
1567 bufferFrom,
1568 base64decode: input => bufferFrom(input, "base64").toString("utf8"),
1569 base64encode: input => bufferFrom(input).toString("base64"),
1678 function bufferFrom(input: string, encoding?: string): Buffer { function
/third_party/typescript/src/tsserver/
DnodeServer.ts167 const buf = sys.bufferFrom!(s);
249 sys.write = (s: string) => writeMessage(sys.bufferFrom!(s, "utf8") as globalThis.Buffer);
/third_party/typescript/src/harness/
DharnessUtils.ts3 return ts.sys.bufferFrom!(s).toString("utf8");
DvfsUtil.ts692 …node.buffer = Buffer.isBuffer(data) ? data.slice() : ts.sys.bufferFrom!("" + data, encoding || "ut…
1234 return ts.sys.bufferFrom!(host.readFile(path)!, "utf8") as Buffer; // TODO: GH#18217
/third_party/typescript/lib/
DtypingsInstaller.js7190 bufferFrom: bufferFrom, property
7191 … base64decode: function (input) { return bufferFrom(input, "base64").toString("utf8"); },
7192 base64encode: function (input) { return bufferFrom(input).toString("base64"); },
7298 function bufferFrom(input, encoding) { function
Dtsc.js4597 bufferFrom: bufferFrom, property
4598 … base64decode: function (input) { return bufferFrom(input, "base64").toString("utf8"); },
4599 base64encode: function (input) { return bufferFrom(input).toString("base64"); },
4688 function bufferFrom(input, encoding) { function