Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
111
func
(en *encoder) svarint(v int64) {
112
en.buf = binary.AppendVarint(en.buf, v)
113
}
114
115
func
(en *encoder) u32(v uint32) {
116
en.buf = binary.LittleEndian.AppendUint32(en.buf, v)
Callers
2
benchEncoderSvarint
Function · 0.95
Encode
Method · 0.95
Calls
no outgoing calls
Tested by
1
benchEncoderSvarint
Function · 0.76