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

Method uvarint

internal/proto/dynamic.go:107–109  ·  view source on GitHub ↗
(v uint64)

Source from the content-addressed store, hash-verified

105}
106
107func (en *encoder) uvarint(v uint64) {
108 en.buf = binary.AppendUvarint(en.buf, v)
109}
110
111func (en *encoder) svarint(v int64) {
112 en.buf = binary.AppendVarint(en.buf, v)

Callers 2

benchEncoderUvarintFunction · 0.95
EncodeMethod · 0.95

Calls

no outgoing calls

Tested by 1

benchEncoderUvarintFunction · 0.76