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

Method DecodeInt64

thrift/binary.go:2172–2174  ·  view source on GitHub ↗

DecodeInt64 decodes a int64 value.

(b []byte)

Source from the content-addressed store, hash-verified

2170
2171// DecodeInt64 decodes a int64 value.
2172func (BinaryEncoding) DecodeInt64(b []byte) int64 {
2173 return int64(binary.BigEndian.Uint64(b))
2174}
2175
2176// DecodeDouble decodes a double value.
2177func (BinaryEncoding) DecodeDouble(b []byte) float64 {

Callers 1

intMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected