MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / WriteString

Method WriteString

internal/nodes/http_writer.go:819–821  ·  view source on GitHub ↗

WriteString 写入字符串

(s string)

Source from the content-addressed store, hash-verified

817
818// WriteString 写入字符串
819func (this *HTTPWriter) WriteString(s string) (n int, err error) {
820 return this.Write([]byte(s))
821}
822
823// SentBodyBytes 读取发送的字节数
824func (this *HTTPWriter) SentBodyBytes() int64 {

Callers 15

SendMethod · 0.95
BenchmarkGzipReaderFunction · 0.80
BenchmarkZSTDReaderFunction · 0.80
TestNewBufferPoolFunction · 0.80
BenchmarkNewBufferPool4Function · 0.80
readMethod · 0.80
InitMethod · 0.80
doRootMethod · 0.80
doShutdownMethod · 0.80
doPageLookupMethod · 0.80
doMismatchMethod · 0.80
doACMEMethod · 0.80

Calls 1

WriteMethod · 0.95

Tested by 4

BenchmarkGzipReaderFunction · 0.64
BenchmarkZSTDReaderFunction · 0.64
TestNewBufferPoolFunction · 0.64
BenchmarkNewBufferPool4Function · 0.64