SerializationDumper
SerializationDumper copied to clipboard
readFloatField() and readDoubleField() are implemented incorrectly
https://github.com/NickstaDB/SerializationDumper/blob/69ea9ba932e31b78bc376d31650bfdcaef2e6b66/src/nb/deser/SerializationDumper.java#L1418
This is not correct, as it simply converts an int
value to a float
value.
What is needed here, instead, is to invoke Float.intBitsToFloat()
on the int
.
Similarly in method readDoubleField()
.