MCPcopy Create free account
hub / github.com/TruthHun/BookStack / tripletToBase64

Function tripletToBase64

static/word2md/mammoth.browser.js:3981–3983  ·  view source on GitHub ↗
(num)

Source from the content-addressed store, hash-verified

3979}
3980
3981function tripletToBase64 (num) {
3982 return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F]
3983}
3984
3985function encodeChunk (uint8, start, end) {
3986 var tmp

Callers 1

encodeChunkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected