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

Function ucs2Write

stackgl_modules/index.js:761–763  ·  view source on GitHub ↗
(buf, string, offset, length)

Source from the content-addressed store, hash-verified

759 return blitBuffer(base64ToBytes(string), buf, offset, length);
760}
761function ucs2Write(buf, string, offset, length) {
762 return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length);
763}
764Buffer.prototype.write = function write(string, offset, length, encoding) {
765 // Buffer#write(string)
766 if (offset === undefined) {

Callers 1

index.jsFile · 0.85

Calls 2

blitBufferFunction · 0.85
utf16leToBytesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…