MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / binaryDecode

Function binaryDecode

src/binaryDecode.js:5–11  ·  view source on GitHub ↗

@noinline

(bin)

Source from the content-addressed store, hash-verified

3// function, leading into incorrect results.
4/** @noinline */
5function binaryDecode(bin) {
6 for (var i = 0, l = bin.length, o = new Uint8Array(l), c; i < l; ++i) {
7 c = bin.charCodeAt(i);
8 o[i] = ~c >> 8 & c; // Recover the null byte in a manner that is compatible with https://crbug.com/453961758
9 }
10 return o;
11}

Callers 2

preamble.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected