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

Function BOMSniffing

github-actions/browserstack/set-browserstack-env.js:15425–15435  ·  view source on GitHub ↗
(ioQueue)

Source from the content-addressed store, hash-verified

15423 case "unicodefffe":
15424 case "utf-16be":
15425 return "UTF-16BE";
15426 case "csunicode":
15427 case "iso-10646-ucs-2":
15428 case "ucs-2":
15429 case "unicode":
15430 case "unicodefeff":
15431 case "utf-16":
15432 case "utf-16le":
15433 return "UTF-16LE";
15434 case "x-user-defined":
15435 return "x-user-defined";
15436 default:
15437 return "failure";
15438 }

Callers 1

decodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected