• Nikias Bassen's avatar
    bplist: Improve UINT_TO_HOST macro, remove uint24_from_be function · 82501db7
    Nikias Bassen authored
    The uint24_from_be function used memcpy and a call to byte_convert.
    Instead the macro now shifts the data appropriately with a new beNtoh
    macro that eventually uses be64toh.
    This commit also fixes the problem where binary plist data with other
    non-power-of-2 sizes (like 5,6, or 7) where not handled correctly,
    and actually supports sizes larger than 8 bytes though only the last
    8 bytes are actually converted (nobody will come up with such a large
    plist anyway).
    82501db7
Name
Last commit
Last update
cython Loading commit data...
include Loading commit data...
libcnary Loading commit data...
m4 Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
doxygen.cfg.in Loading commit data...