fun <Error class: unknown class><Message>.encode(): <Error class: unknown class><<Error class: unknown class>> Transform the stream of messages into a stream of raw bytes. Each element of the resulting flow is the encoded version of the corresponding message