MCPcopy Index your code
hub / github.com/plotly/plotly.js / base64Slice

Function base64Slice

stackgl_modules/index.js:827–833  ·  view source on GitHub ↗
(buf, start, end)

Source from the content-addressed store, hash-verified

825 };
826};
827function base64Slice(buf, start, end) {
828 if (start === 0 && end === buf.length) {
829 return base64.fromByteArray(buf);
830 } else {
831 return base64.fromByteArray(buf.slice(start, end));
832 }
833}
834function utf8Slice(buf, start, end) {
835 end = Math.min(buf.length, end);
836 var res = [];

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…