MCPcopy Create free account
hub / github.com/reactjs/react-rails / utf16leWrite

Function utf16leWrite

lib/assets/javascripts/JSXTransformer.js:846–849  ·  view source on GitHub ↗
(buf, string, offset, length)

Source from the content-addressed store, hash-verified

844}
845
846function utf16leWrite (buf, string, offset, length) {
847 var charsWritten = blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
848 return charsWritten
849}
850
851Buffer.prototype.write = function write (string, offset, length, encoding) {
852 // Support both (string, offset, length, encoding)

Callers 1

JSXTransformer.jsFile · 0.85

Calls 2

blitBufferFunction · 0.85
utf16leToBytesFunction · 0.85

Tested by

no test coverage detected