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

Method EncodeDouble

thrift/binary.go:2129–2131  ·  view source on GitHub ↗
(b []byte, v float64)

Source from the content-addressed store, hash-verified

2127}
2128
2129func (BinaryEncoding) EncodeDouble(b []byte, v float64) {
2130 binary.BigEndian.PutUint64(b, math.Float64bits(v))
2131}
2132
2133// EncodeString encodes a string value.
2134func (BinaryEncoding) EncodeString(b []byte, v string) {

Callers 4

EncodeEmptyMethod · 0.95
TestDefalutValueFunction · 0.45
makeDefaultValueFunction · 0.45
NewNodeDoubleFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestDefalutValueFunction · 0.36