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
Input streams with large blocks of binary data should be decodable without copying their contents.
This is probably best done by making FromBencode take 'ser (the lifetime of the data being deserialized) as a parameter, thus we could have impls for &'ser [u8], Cow<'ser, [u8]>, and (possibly) &'ser str and Cow<'ser, str>
The text was updated successfully, but these errors were encountered:
Input streams with large blocks of binary data should be decodable without copying their contents.
This is probably best done by making FromBencode take
'ser
(the lifetime of the data being deserialized) as a parameter, thus we could have impls for&'ser [u8]
,Cow<'ser, [u8]>
, and (possibly)&'ser str
andCow<'ser, str>
The text was updated successfully, but these errors were encountered: