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

Function ucs2Write

docs/tests/v2/es6/js/sanddance.js:79198–79200  ·  view source on GitHub ↗
(buf, string, offset, length)

Source from the content-addressed store, hash-verified

79196}
79197
79198function ucs2Write (buf, string, offset, length) {
79199 return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
79200}
79201
79202Buffer.prototype.write = function write (string, offset, length, encoding) {
79203 // Buffer#write(string)

Callers 1

sanddance.jsFile · 0.70

Calls 2

blitBufferFunction · 0.70
utf16leToBytesFunction · 0.70

Tested by

no test coverage detected