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

Method DecodeDouble

thrift/binary.go:2177–2179  ·  view source on GitHub ↗

DecodeDouble decodes a double value.

(b []byte)

Source from the content-addressed store, hash-verified

2175
2176// DecodeDouble decodes a double value.
2177func (BinaryEncoding) DecodeDouble(b []byte) float64 {
2178 return math.Float64frombits(binary.BigEndian.Uint64(b))
2179}
2180
2181// DecodeString decodes a string value.
2182func (d BinaryEncoding) DecodeString(b []byte) (value string) {

Callers 1

float64Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected