Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/segmentio/encoding
/ Int32
Method
Int32
proto/message.go:64–66 ·
view source on GitHub ↗
(v int32)
Source
from the content-addressed store, hash-verified
62
}
63
64
func
(f FieldNumber) Int32(v int32) RawMessage {
65
return
f.Int64(int64(v))
66
}
67
68
func
(f FieldNumber) Int64(v int64) RawMessage {
69
return
AppendVarint(nil, f, uint64(v))
Callers
3
Value
Method · 0.95
parseRewriteTemplateInt32
Function · 0.80
Rewrite
Method · 0.80
Calls
1
Int64
Method · 0.95
Tested by
no test coverage detected