MCPcopy
hub / github.com/gopherjs/gopherjs / Write

Method Write

compiler/utils.go:44–48  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

42}
43
44func (fc *funcContext) Write(b []byte) (int, error) {
45 fc.writePos()
46 fc.output = append(fc.output, b...)
47 return len(b), nil
48}
49
50func (fc *funcContext) Printf(format string, values ...any) {
51 fc.Write([]byte(fc.Indentation(0)))

Callers 1

PrintfMethod · 0.95

Calls 1

writePosMethod · 0.95

Tested by

no test coverage detected