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
Another issue I found relates to the serialization of the Long values.
In the code seen below we can see an explicit cast to Int before putting the data in the buffer, thus the function downcasts to Int in serialization and upcasts back to Long when deserializing, causing confusion.
Another issue I found relates to the serialization of the Long values.
In the code seen below we can see an explicit cast to Int before putting the data in the buffer, thus the function downcasts to Int in serialization and upcasts back to Long when deserializing, causing confusion.
kotlin-ipv8/ipv8/src/main/java/nl/tudelft/ipv8/messaging/Serialization.kt
Lines 81 to 85 in 476dc36
I suggest conforming to the naming and just using Long in transit and create a separate explicit Int serialization.
The text was updated successfully, but these errors were encountered: