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

Function slc

packages/replay-worker/examples/worker.js:127–131  ·  view source on GitHub ↗
(v, s, e)

Source from the content-addressed store, hash-verified

125// typed array slice - allows garbage collector to free original reference,
126// while being more compatible than .slice
127var slc = function (v, s, e) {
128 if (e == null || e > v.length) e = v.length;
129 // can't use .constructor in case user-supplied
130 return new u8(v.subarray(s, e));
131};
132// error codes
133var ec = [
134 'unexpected EOF',

Callers 2

dfltFunction · 0.85
strToU8Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected