serializeGroupCreated
Serializes a GroupCreated event object into a byte array.
Return
a byte array representing the serialized GroupCreated event
Parameters
event
the GroupCreated event object to serialize
Throws
if an I/O error occurs during serialization