@Nullable open static fun serialize(@Nullable object: Any): ByteArray
Serialize the given object to a byte array.
object - the object to serialize
object
Return an array of bytes representing the object in a portable fashion