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

Method svarint

internal/proto/dynamic.go:111–113  ·  view source on GitHub ↗
(v int64)

Source from the content-addressed store, hash-verified

109}
110
111func (en *encoder) svarint(v int64) {
112 en.buf = binary.AppendVarint(en.buf, v)
113}
114
115func (en *encoder) u32(v uint32) {
116 en.buf = binary.LittleEndian.AppendUint32(en.buf, v)

Callers 2

benchEncoderSvarintFunction · 0.95
EncodeMethod · 0.95

Calls

no outgoing calls

Tested by 1

benchEncoderSvarintFunction · 0.76