MCPcopy Create free account
hub / github.com/andeya/erpc / WriteString

Method WriteString

utils/bytebuffer.go:87–90  ·  view source on GitHub ↗

WriteString appends s to ByteBuffer.B.

(s string)

Source from the content-addressed store, hash-verified

85
86// WriteString appends s to ByteBuffer.B.
87func (b *ByteBuffer) WriteString(s string) (int, error) {
88 b.B = append(b.B, s...)
89 return len(s), nil
90}
91
92// Set sets ByteBuffer.B to p.
93func (b *ByteBuffer) Set(p []byte) {

Callers 10

log.goFile · 0.45
ToJSONStrFunction · 0.45
outerFunction · 0.45
PackMethod · 0.45
packRequestMethod · 0.45
writeField1Method · 0.45
newServerConnFunction · 0.45
subProtoServerFunction · 0.45
hybiClientHandshakeFunction · 0.45
AcceptHandshakeMethod · 0.45

Calls

no outgoing calls

Tested by 1

subProtoServerFunction · 0.36