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

Function decodeFloat64

thrift/decode.go:182–189  ·  view source on GitHub ↗
(r Reader, v reflect.Value, _ flags)

Source from the content-addressed store, hash-verified

180}
181
182func decodeFloat64(r Reader, v reflect.Value, _ flags) error {
183 f, err := r.ReadFloat64()
184 if err != nil {
185 return err
186 }
187 v.SetFloat(f)
188 return nil
189}
190
191func decodeString(r Reader, v reflect.Value, _ flags) error {
192 s, err := r.ReadString()

Callers

nothing calls this directly

Calls 1

ReadFloat64Method · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…