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 has been archived by the owner on Mar 8, 2023. It is now read-only.
It's easy to calculate the final size of the serialized object in advance. We should do that when serializing and allocate the write buffer with that size in advance so that we don't end up resizing it later.
The Protocol could expose a function that allows you to calculate the serialized size of an object, or if that specific protocol doesn't have guarantees around that, -1.
The text was updated successfully, but these errors were encountered:
It's easy to calculate the final size of the serialized object in advance. We should do that when serializing and allocate the write buffer with that size in advance so that we don't end up resizing it later.
The Protocol could expose a function that allows you to calculate the serialized size of an object, or if that specific protocol doesn't have guarantees around that, -1.
The text was updated successfully, but these errors were encountered: