MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / wbits

Function wbits

packages/replay-worker/examples/worker.js:158–163  ·  view source on GitHub ↗
(d, p, v)

Source from the content-addressed store, hash-verified

156};
157// starting at p, write the minimum number of bits that can hold v to d
158var wbits = function (d, p, v) {
159 v <<= p & 7;
160 var o = (p / 8) | 0;
161 d[o] |= v;
162 d[o + 1] |= v >> 8;
163};
164// starting at p, write the minimum number of bits (>8) that can hold v to d
165var wbits16 = function (d, p, v) {
166 v <<= p & 7;

Callers 1

wblkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected