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
{{ message }}
This repository was archived by the owner on Aug 15, 2025. It is now read-only.
Right now the enum variant of ErrorKind UnexpectedEnd is void. I suggest changing it to UnexpectedEnd(usize) so the caller will be able to know how much data it is missing for success.
This will allow development of stream protocols to be more efficient by reserving buffers & calling the decode only when data is complete.
More specifically, I'm now developing a actix-codecEncoder/Decoder and I'd wish to reserve the additional missing data before returning.