MCPcopy 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
148func (BinaryEncoder) EncodeByte(b []byte, v byte) []byte {
149 return append(b, v)
150}
151
152func (BinaryEncoder) EncodeEnum(b []byte, v int32) []byte {
153 return AppendVarint(b, uint64(v))

Callers 2

NewNodeByteFunction · 0.45
runTestsFunction · 0.45

Calls

no outgoing calls

Tested by 1

runTestsFunction · 0.36