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