MCPcopy Create free account
hub / github.com/LagrangeDev/LagrangeGo / WritePacketString

Method WritePacketString

utils/binary/builder.go:106–108  ·  view source on GitHub ↗
(s, prefix string, withPrefix bool)

Source from the content-addressed store, hash-verified

104}
105
106func (b *Builder) WritePacketString(s, prefix string, withPrefix bool) *Builder {
107 return b.WritePacketBytes(utils.S2B(s), prefix, withPrefix)
108}
109
110// Write for impl. io.Writer
111func (b *Builder) Write(p []byte) (n int, err error) {

Callers 9

PackPacketMethod · 0.80
T106Function · 0.80
T128Function · 0.80
T142Function · 0.80
T147Function · 0.80
T177Function · 0.80
T521Function · 0.80
T16Function · 0.80

Calls 2

WritePacketBytesMethod · 0.95
S2BFunction · 0.92

Tested by

no test coverage detected