MCPcopy Index your code
hub / github.com/OneNoteDev/WebClipper / asciiSlice

Function asciiSlice

lib/sanitize-html.js:1609–1617  ·  view source on GitHub ↗
(buf, start, end)

Source from the content-addressed store, hash-verified

1607}
1608
1609function asciiSlice (buf, start, end) {
1610 var ret = ''
1611 end = Math.min(buf.length, end)
1612
1613 for (var i = start; i < end; ++i) {
1614 ret += String.fromCharCode(buf[i] & 0x7F)
1615 }
1616 return ret
1617}
1618
1619function latin1Slice (buf, start, end) {
1620 var ret = ''

Callers 1

slowToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected