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

Function bufferStartsWith

github-actions/browserstack/set-browserstack-env.js:5559–5569  ·  view source on GitHub ↗
(buffer, start, position)

Source from the content-addressed store, hash-verified

5557 }
5558 position.position += 12;
5559 filename = parseMultipartFormDataName(input, position);
5560 if (filename === null) {
5561 return "failure";
5562 }
5563 }
5564 break;
5565 }
5566 case "content-type": {
5567 let headerValue = collectASequenceOfBytes(
5568 (char) => char !== 10 && char !== 13,
5569 input,
5570 position
5571 );
5572 headerValue = removeChars(headerValue, false, true, (char) => char === 9 || char === 32);

Callers 2

multipartFormDataParserFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected