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

Method SetString

utils/bytebuffer.go:98–100  ·  view source on GitHub ↗

SetString sets ByteBuffer.B to s.

(s string)

Source from the content-addressed store, hash-verified

96
97// SetString sets ByteBuffer.B to s.
98func (b *ByteBuffer) SetString(s string) {
99 b.B = append(b.B[:0], s...)
100}
101
102// String returns string representation of ByteBuffer.B.
103func (b *ByteBuffer) String() string {

Callers 3

setWithProperTypeFunction · 0.80
parseProperTypeFunction · 0.80
PrepareArgsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected