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

Function hexByteToNumber

github-actions/saucelabs/set-saucelabs-env.js:3528–3533  ·  view source on GitHub ↗
(byte)

Source from the content-addressed store, hash-verified

3526 return input.slice(start, position.position);
3527 }
3528 function stringPercentDecode(input) {
3529 const bytes = encoder.encode(input);
3530 return percentDecode(bytes);
3531 }
3532 function isHexCharByte(byte) {
3533 return byte >= 48 && byte <= 57 || byte >= 65 && byte <= 70 || byte >= 97 && byte <= 102;
3534 }
3535 function hexByteToNumber(byte) {
3536 return (

Callers 1

percentDecodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected