MCPcopy Create free account
hub / github.com/cloudwego/dynamicgo / DecodeInt32

Method DecodeInt32

thrift/binary.go:2167–2169  ·  view source on GitHub ↗

DecodeInt32 decodes a int32 value.

(b []byte)

Source from the content-addressed store, hash-verified

2165
2166// DecodeInt32 decodes a int32 value.
2167func (BinaryEncoding) DecodeInt32(b []byte) int32 {
2168 return int32(binary.BigEndian.Uint32(b))
2169}
2170
2171// DecodeInt64 decodes a int64 value.
2172func (BinaryEncoding) DecodeInt64(b []byte) int64 {

Callers 5

DecodeStringMethod · 0.95
DecodeBytesMethod · 0.95
lenMethod · 0.45
intMethod · 0.45
setNotFoundMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected