OSDN Git Service

shared: Add put_be32()
authorClaudio Takahasi <claudio.takahasi@openbossa.org>
Thu, 20 Mar 2014 14:42:34 +0000 (11:42 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 21 Mar 2014 08:36:15 +0000 (10:36 +0200)
commitfe10be26419bcd95f43efea34ee2a6aeec733853
tree1e7f9d70839c40b729b7cfa93428b47d4a87c2f9
parentce5c106efc3c23c416cddc1842f57bcff12eefad
shared: Add put_be32()

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