OSDN Git Service

shared: Add get_be64()
authorClaudio Takahasi <claudio.takahasi@openbossa.org>
Thu, 20 Mar 2014 14:42:32 +0000 (11:42 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 21 Mar 2014 08:36:12 +0000 (10:36 +0200)
commit0c75268c6508af16f3dbccd9d3082265d86199bf
tree58c1a68df54e9330d1828b3a2b31d74535b6b67b
parentbe50f325cf13de4360f42bb23eafda109a1e1a20
shared: Add get_be64()

Add helper to avoid possible unaligned memory access when handling
uint64 value using big-endian representation.
src/shared/util.h