MCPcopy
hub / github.com/gogf/gf / WriteString

Method WriteString

net/ghttp/internal/response/response_buffer_writer.go:40–42  ·  view source on GitHub ↗

WriteString writes string content to internal buffer.

(data string)

Source from the content-addressed store, hash-verified

38
39// WriteString writes string content to internal buffer.
40func (w *BufferWriter) WriteString(data string) (int, error) {
41 return w.buffer.WriteString(data)
42}
43
44// Buffer returns the buffered content as []byte.
45func (w *BufferWriter) Buffer() []byte {

Callers 15

JoinMethod · 0.80
StringMethod · 0.80
JoinMethod · 0.80
StringMethod · 0.80
StringMethod · 0.80
StringMethod · 0.80
JoinMethod · 0.80
StringMethod · 0.80
JoinMethod · 0.80
JoinMethod · 0.80
ProceedMethod · 0.80

Calls

no outgoing calls

Tested by 5

ExampleCreateFunction · 0.64
ExampleOpenFileFunction · 0.64
ExampleOpenWithFlagFunction · 0.64