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

Method EncodeFloat

xdr/encode.go:257–260  ·  view source on GitHub ↗

EncodeFloat appends the XDR encoded representation of the passed 32-bit (single-precision) floating point to the Encoder's data. A MarshalError is returned if appending the data would overflow the internal data slice. Reference: RFC Section 4.6 - Floating Point 32-bit single-precision IEEE 754 f

(v float32)

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

EncodeUintMethod · 0.95

Tested by 1

TestEncoderFunction · 0.76