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
Currently inside our codecs we write / read the length prefix and have logic to ensure that we only ever decode a full frame. Instead of manually taking care of it, we could use tokio-io's length_delimited, which will automatically length-prefix written messages and ensure to only ever pass full frames to the decoder.
The text was updated successfully, but these errors were encountered:
Currently inside our codecs we write / read the length prefix and have logic to ensure that we only ever decode a full frame. Instead of manually taking care of it, we could use tokio-io's
length_delimited
, which will automatically length-prefix written messages and ensure to only ever pass full frames to the decoder.The text was updated successfully, but these errors were encountered: