MCPcopy Create free account
hub / github.com/bewcloud/bewcloud / ucs2Write

Function ucs2Write

lib/models/dav.js:2684–2686  ·  view source on GitHub ↗
(buf, string, offset, length)

Source from the content-addressed store, hash-verified

2682}
2683
2684function ucs2Write (buf, string, offset, length) {
2685 return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
2686}
2687
2688Buffer.prototype.write = function write (string, offset, length, encoding) {
2689 // Buffer#write(string)

Callers 1

dav.jsFile · 0.85

Calls 2

blitBufferFunction · 0.85
utf16leToBytesFunction · 0.85

Tested by

no test coverage detected