MCPcopy Index your code
hub / github.com/LagrangeDev/LagrangeGo / WriteLenString

Method WriteLenString

utils/binary/builder.go:142–144  ·  view source on GitHub ↗
(v string)

Source from the content-addressed store, hash-verified

140}
141
142func (b *Builder) WriteLenString(v string) *Builder {
143 return b.WriteLenBytes(utils.S2B(v))
144}
145
146func (b *Builder) WriteStruct(data ...any) *Builder {
147 b.p(func(ub *pbuf.UserBuffer[teacfg]) {

Callers

nothing calls this directly

Calls 2

WriteLenBytesMethod · 0.95
S2BFunction · 0.92

Tested by

no test coverage detected