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

Method encodeStruct

xdr2/encode.go:441–484  ·  view source on GitHub ↗

encodeStruct writes an XDR encoded representation of each value in the exported fields of the struct represented by the passed reflection value to the encapsulated writer and returns the number of bytes written. Pointers are automatically indirected through arbitrary depth to encode the actual valu

(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 4

indirectMethod · 0.95
encodeArrayMethod · 0.95
encodeFixedArrayMethod · 0.95
encodeMethod · 0.95

Tested by

no test coverage detected