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

Method encodeInterface

xdr2/encode.go:534–546  ·  view source on GitHub ↗

encodeInterface examines the interface represented by the passed reflection value to detect whether it is an interface that can be encoded if it is, extracts the underlying value to pass back into the encode function for encoding according to its type. A MarshalError is returned if any issues are e

(v reflect.Value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

encodeMethod · 0.95

Calls 3

indirectMethod · 0.95
encodeMethod · 0.95
marshalErrorFunction · 0.70

Tested by

no test coverage detected