MCPcopy Create free account
hub / github.com/segmentio/encoding / encodeFloat64

Function encodeFloat64

thrift/encode.go:126–128  ·  view source on GitHub ↗
(w Writer, v reflect.Value, _ flags)

Source from the content-addressed store, hash-verified

124}
125
126func encodeFloat64(w Writer, v reflect.Value, _ flags) error {
127 return w.WriteFloat64(v.Float())
128}
129
130func encodeString(w Writer, v reflect.Value, _ flags) error {
131 return w.WriteString(v.String())

Callers

nothing calls this directly

Calls 2

FloatMethod · 0.80
WriteFloat64Method · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…