MCPcopy Create free account
hub / github.com/microsoft/SandDance / base64ToBytes

Function base64ToBytes

docs/app/js/sanddance-app.js:114049–114051  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

114047 return byteArray;
114048}
114049function base64ToBytes(str) {
114050 return base64.toByteArray(base64clean(str));
114051}
114052function blitBuffer(src, dst, offset, length) {
114053 for(var i = 0; i < length; ++i){
114054 if (i + offset >= dst.length || i >= src.length) break;

Callers 2

byteLengthFunction · 0.70
base64WriteFunction · 0.70

Calls 1

base64cleanFunction · 0.70

Tested by

no test coverage detected