MCPcopy Create free account
hub / github.com/dataease/SQLBot / asciiWrite

Function asciiWrite

frontend/public/swagger-ui-bundle.js:21787–21798  ·  view source on GitHub ↗
(s, o, i, a)

Source from the content-addressed store, hash-verified

21785 return blitBuffer(utf8ToBytes(o, s.length - i), s, i, a)
21786 }
21787 function asciiWrite(s, o, i, a) {
21788 return blitBuffer(
21789 (function asciiToBytes(s) {
21790 const o = []
21791 for (let i = 0; i < s.length; ++i) o.push(255 & s.charCodeAt(i))
21792 return o
21793 })(o),
21794 s,
21795 i,
21796 a
21797 )
21798 }
21799 function base64Write(s, o, i, a) {
21800 return blitBuffer(base64ToBytes(o), s, i, a)
21801 }

Callers 1

Calls 2

blitBufferFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected