MCPcopy Create free account
hub / github.com/Monibuca/engine / WriteString

Method WriteString

util/buffer.go:153–155  ·  view source on GitHub ↗
(a string)

Source from the content-addressed store, hash-verified

151 b.Malloc(1)[0] = v
152}
153func (b *Buffer) WriteString(a string) {
154 *b = append(*b, a...)
155}
156func (b *Buffer) Write(a []byte) (n int, err error) {
157 l := b.Len()
158 newL := l + len(a)

Callers 1

RunFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected