MCPcopy Create free account
hub / github.com/angular/dev-infra / combineByteSequences

Function combineByteSequences

github-actions/saucelabs/set-saucelabs-env.js:15436–15446  ·  view source on GitHub ↗
(sequences)

Source from the content-addressed store, hash-verified

15434 if (type2 !== "failure") {
15435 encoding = getEncoding(type2.parameters.get("charset"));
15436 }
15437 }
15438 if (encoding === "failure") {
15439 encoding = "UTF-8";
15440 }
15441 return decode(bytes, encoding);
15442 }
15443 case "ArrayBuffer": {
15444 const sequence = combineByteSequences(bytes);
15445 return sequence.buffer;
15446 }
15447 case "BinaryString": {
15448 let binaryString = "";
15449 const decoder = new StringDecoder2("latin1");

Callers 2

packageDataFunction · 0.70
decodeFunction · 0.70

Calls 1

setMethod · 0.45

Tested by

no test coverage detected