MCPcopy Create free account
hub / github.com/OneNoteDev/WebClipper / base64Write

Function base64Write

lib/sanitize-html.js:1418–1420  ·  view source on GitHub ↗
(buf, string, offset, length)

Source from the content-addressed store, hash-verified

1416}
1417
1418function base64Write (buf, string, offset, length) {
1419 return blitBuffer(base64ToBytes(string), buf, offset, length)
1420}
1421
1422function ucs2Write (buf, string, offset, length) {
1423 return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)

Callers 1

sanitize-html.jsFile · 0.85

Calls 2

blitBufferFunction · 0.85
base64ToBytesFunction · 0.85

Tested by

no test coverage detected