EncodeEnum treats the passed 32-bit signed integer as an enumeration value and, if it is in the list of passed valid enumeration values, writes the XDR encoded representation of it to the encapsulated writer. It returns the number of bytes written. A MarshalError is returned if the enumeration val
(v int32, validEnums map[int32]bool)
source not stored for this graph (policy: none)