MCPcopy Create free account
hub / github.com/cloudwego/netpoll / WriteString

Method WriteString

nocopy_readwriter.go:194–196  ·  view source on GitHub ↗

WriteString implements Writer.

(s string)

Source from the content-addressed store, hash-verified

192
193// WriteString implements Writer.
194func (w *zcWriter) WriteString(s string) (n int, err error) {
195 return w.buf.WriteString(s)
196}
197
198// WriteBinary implements Writer.
199func (w *zcWriter) WriteBinary(b []byte) (n int, err error) {

Callers

nothing calls this directly

Calls 1

WriteStringMethod · 0.65

Tested by

no test coverage detected