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
Currently, there's no uniform way. Possible approach:
Factory method for each packet type
Setting remainingLength happens in factory method. When WriteTo is called, it can expect that the packet structure is already fully populated and valid. Possibly, validation could be called (or not, for performance reasons)
The text was updated successfully, but these errors were encountered:
Currently, there's no uniform way. Possible approach:
The text was updated successfully, but these errors were encountered: