Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudwego/dynamicgo
/ EncodeByte
Method
EncodeByte
proto/protowire/encode.go:148–150 ·
view source on GitHub ↗
(b []byte, v byte)
Source
from the content-addressed store, hash-verified
146
}
147
148
func
(BinaryEncoder) EncodeByte(b []byte, v byte) []byte {
149
return
append(b, v)
150
}
151
152
func
(BinaryEncoder) EncodeEnum(b []byte, v int32) []byte {
153
return
AppendVarint(b, uint64(v))
Callers
2
NewNodeByte
Function · 0.45
runTests
Function · 0.45
Calls
no outgoing calls
Tested by
1
runTests
Function · 0.36