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
Require length limited reader in impl_writeable_msg
See prior two commits.
When deserializing objects via this macro, there is no length prefix so the
deser code will read the provided reader until it runs out of bytes.
Readable is not an appropriate trait for this situation because it should only
be used for structs that are prefixed with a length and know when to stop
reading. LengthReadable instead requires that the caller supply only the bytes
that are reserved for this struct.
0 commit comments