MCPcopy Create free account
hub / github.com/dop251/goja_nodejs / write

Method write

buffer/buffer.go:701–719  ·  view source on GitHub ↗

write will write a string to the Buffer at offset according to the character encoding. The length parameter is the number of bytes to write. If buffer did not contain enough space to fit the entire string, only part of string will be written.

(call goja.FunctionCall)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

getOffsetArgumentMethod · 0.95
getStringCodecMethod · 0.95
RequiredStringArgumentFunction · 0.92
OptionalIntegerArgumentFunction · 0.92
BytesFunction · 0.85
DecodeMethod · 0.65

Tested by

no test coverage detected