Encode encodes an Event into a byte slice that can be read by a RawEvent.
()
source not stored for this graph (policy: none)
no outgoing calls
no test coverage detected