MCPcopy
hub / github.com/feross/buffer / utf8Write

Function utf8Write

index.js:852–854  ·  view source on GitHub ↗
(buf, string, offset, length)

Source from the content-addressed store, hash-verified

850}
851
852function utf8Write (buf, string, offset, length) {
853 return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)
854}
855
856function asciiWrite (buf, string, offset, length) {
857 return blitBuffer(asciiToBytes(string), buf, offset, length)

Callers 1

index.jsFile · 0.85

Calls 2

blitBufferFunction · 0.85
utf8ToBytesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…