Replace ConnectedPacket::serialized_size
with Serialize::size_hint
#249
Labels
A-protocol
Area: game protocol
C-refactor
Category: refactor of existing code
E-large
Call for participation. This issue needs a lot of refactoring to fix
The
serialized_size
function should be removed and replaced by the newsize_hint
function in theSerialize
trait which will automatically allocate before serializing.The text was updated successfully, but these errors were encountered: