MCPcopy Create free account
hub / github.com/SocketCluster/socketcluster / latin1Slice

Function latin1Slice

app/public/socketcluster-client.js:3658–3666  ·  view source on GitHub ↗
(buf, start, end)

Source from the content-addressed store, hash-verified

3656}
3657
3658function latin1Slice (buf, start, end) {
3659 var ret = ''
3660 end = Math.min(buf.length, end)
3661
3662 for (var i = start; i < end; ++i) {
3663 ret += String.fromCharCode(buf[i])
3664 }
3665 return ret
3666}
3667
3668function hexSlice (buf, start, end) {
3669 var len = buf.length

Callers 1

slowToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…