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

Method WriteBytes

utils/binary/builder.go:137–140  ·  view source on GitHub ↗
(v []byte)

Source from the content-addressed store, hash-verified

135}
136
137func (b *Builder) WriteBytes(v []byte) *Builder {
138 _, _ = b.Write(v)
139 return b
140}
141
142func (b *Builder) WriteLenString(v string) *Builder {
143 return b.WriteLenBytes(utils.S2B(v))

Callers 15

MarshalMethod · 0.95
MarshalMethod · 0.95
WritePacketBytesMethod · 0.95
WriteLenBytesMethod · 0.95
buildCode2dPacketMethod · 0.80
QRCodeLoginMethod · 0.80
PackPacketMethod · 0.80
T106Function · 0.80
T124Function · 0.80
T145Function · 0.80
T16aFunction · 0.80

Calls 1

WriteMethod · 0.95

Tested by 4

TestBuilderFunction · 0.64
BenchmarkNewBuilder128Function · 0.64
BenchmarkNewBuilder128_3Function · 0.64
BenchmarkNewBuilder128_5Function · 0.64