MCPcopy Create free account
hub / github.com/davecgh/go-xdr / EncodeDouble

Method EncodeDouble

xdr2/encode.go:263–266  ·  view source on GitHub ↗

EncodeDouble writes the XDR encoded representation of the passed 64-bit (double-precision) floating point to the encapsulated writer and returns the number of bytes written. A MarshalError with an error code of ErrIO is returned if writing the data fails. Reference: RFC Section 4.7 - Double-Prec

(v float64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestEncoderFunction · 0.95
encodeMethod · 0.95

Calls 1

EncodeUhyperMethod · 0.95

Tested by 1

TestEncoderFunction · 0.76