Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cs/deserialization): Align date deserialization with other implem…
…entations This commit modifies the date deserialization process in Bebop to ensure consistency with the other implementations and corrects a type mismatch issue. This change complements the previous fix for date serialization, providing a complete and correct solution for date handling across languages. - Modify `BebopReader.ReadDate()` method to use a more precise algorithm - Introduce constants for ticks between epochs and date mask - Update date conversion to use milliseconds since Unix epoch - Ensure UTC DateTime is always returned - Fix type mismatch between ulong and long in date calculation - Use unchecked conversion to handle potential overflow This change resolves inconsistencies in date representation when deserializing data.
- Loading branch information