MCPcopy Index your code
hub / github.com/cloudwego/dynamicgo / EncodeInt32

Method EncodeInt32

thrift/binary.go:2120–2122  ·  view source on GitHub ↗

EncodeInt32 encodes a int32 value.

(b []byte, v int32)

Source from the content-addressed store, hash-verified

2118
2119// EncodeInt32 encodes a int32 value.
2120func (BinaryEncoding) EncodeInt32(b []byte, v int32) {
2121 binary.BigEndian.PutUint32(b, uint32(v))
2122}
2123
2124// EncodeInt64 encodes a int64 value.
2125func (BinaryEncoding) EncodeInt64(b []byte, v int64) {

Callers 5

EncodeEmptyMethod · 0.95
TestDefalutValueFunction · 0.45
NewNodeInt32Function · 0.45
setNotFoundMethod · 0.45
ToRawMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestDefalutValueFunction · 0.36