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

Function base64Slice

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

Source from the content-addressed store, hash-verified

1503}
1504
1505function base64Slice (buf, start, end) {
1506 if (start === 0 && end === buf.length) {
1507 return base64.fromByteArray(buf)
1508 } else {
1509 return base64.fromByteArray(buf.slice(start, end))
1510 }
1511}
1512
1513function utf8Slice (buf, start, end) {
1514 end = Math.min(buf.length, end)

Callers 1

slowToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected