Using tokio to mix reading lines and binary

I would not use Lines for this purpose. The codec module in tokio-util is a better bet.

1 Like