Differences From Artifact [7cccc18871]:
- File src/OFString+Serialization.m — part of check-in [a2b0cd02a5] at 2012-07-31 11:32:20 on branch trunk — Check version of serialization format. (user: js, size: 2155) [annotate] [blame] [check-ins using]
To Artifact [5a29f34399]:
- File
src/OFString+Serialization.m
— part of check-in
[a6ee2b2065]
at
2012-07-31 12:05:46
on branch trunk
— Slightly changed serialization format.
printf's %a was too fragile to serialize floats and doubles, as it was
behaving differently on different OSes and OS versions. Instead, a hex
representation of the float/double in big endian is used now. While this
is less readable, it is guaranteed to be accurate and always the same. (user: js, size: 2156) [annotate] [blame] [check-ins using]
︙ | |||
53 54 55 56 57 58 59 | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | - + | version = [[root attributeForName: @"version"] stringValue]; if (version == nil) @throw [OFInvalidArgumentException exceptionWithClass: [self class] selector: _cmd]; |
︙ |