You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can collect the data into Vec<u8>, and after the loop ends you cast the data into String. Because the chunks may contain invalid UTF-8 if you try to cast each chunk to UTF8.
The text was updated successfully, but these errors were encountered:
fahrenheit/examples/client.rs
Line 18 in d85b86d
You can collect the data into
Vec<u8>
, and after the loop ends you cast the data into String. Because the chunks may contain invalid UTF-8 if you try to cast each chunk to UTF8.The text was updated successfully, but these errors were encountered: