/* $Id: unpack_msb.c 616 2005-08-19 20:11:01Z bruce $ */
#include "uint32.h"

#ifndef __INLINE_UINT_MSB
void uint32_unpack_msb(const unsigned char b[4], uint32* u)
{
  uint32 r;
  r = b[0];
  r <<= 8;
  r += b[1];
  r <<= 8;
  r += b[2];
  r <<= 8;
  r += b[3];
  *u = r;
}
#endif
