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

Method decodeStruct

xdr2/decode.go:508–565  ·  view source on GitHub ↗

decodeStruct treats the next bytes as a series of XDR encoded elements of the same type as the exported fields of the struct represented by the passed reflection value. Pointers are automatically indirected and allocated as necessary. It returns the the number of bytes actually read. An Unmarsha

(v reflect.Value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

decodeMethod · 0.95

Calls 6

indirectMethod · 0.95
decodeArrayMethod · 0.95
decodeFixedArrayMethod · 0.95
decodeMethod · 0.95
unmarshalErrorFunction · 0.70
StringMethod · 0.45

Tested by

no test coverage detected