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

Function asciiSlice

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

Source from the content-addressed store, hash-verified

3646}
3647
3648function asciiSlice (buf, start, end) {
3649 var ret = ''
3650 end = Math.min(buf.length, end)
3651
3652 for (var i = start; i < end; ++i) {
3653 ret += String.fromCharCode(buf[i] & 0x7F)
3654 }
3655 return ret
3656}
3657
3658function latin1Slice (buf, start, end) {
3659 var ret = ''

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…