OSDN Git Service

shared: Add put_be16()
authorClaudio Takahasi <claudio.takahasi@openbossa.org>
Thu, 20 Mar 2014 14:42:33 +0000 (11:42 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 21 Mar 2014 08:36:13 +0000 (10:36 +0200)
commitce5c106efc3c23c416cddc1842f57bcff12eefad
treeb463af26218bb8468ea7b09a763ca1c230ff72c6
parent0c75268c6508af16f3dbccd9d3082265d86199bf
shared: Add put_be16()

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