For v4.0 in F' we added serializeTo/serializeFrom and deserializeTo/deserializeFrom methods to clarify the direction of serialization. We intend to deprecate the old serialize and deserialize methods in the future, but to decouple the upgrade needed to FPP we have left the legacy methods in place. The F' issue for the serialization clarification is here: nasa/fprime#3781
In general, anything that is a Fw::SerializeBufferBase should be updated as follows:
- .serialize() --> buffer.serializeFrom()
- .deserialize() --> buffer.deserializeTo()
and anything that is implementing Fw::Serializable should be updated as follows:
- .serialize() --> .serializeTo()
- .deserialize() --> .deserializeFrom()