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

Method WriteTLV

utils/binary/builder.go:205–209  ·  view source on GitHub ↗
(tlvs ...[]byte)

Source from the content-addressed store, hash-verified

203}
204
205func (b *Builder) WriteTLV(tlvs ...[]byte) *Builder {
206 b.WriteU16(uint16(len(tlvs)))
207 _, _ = io.Copy(b, (*net.Buffers)(&tlvs))
208 return b
209}

Callers 3

FetchQRCodeMethod · 0.80
QRCodeLoginMethod · 0.80
T144Function · 0.80

Calls 1

WriteU16Method · 0.95

Tested by

no test coverage detected