MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / d_putul

Function d_putul

dep/hfsutils/libhfs/data.c:208–215  ·  view source on GitHub ↗

* NAME: data->putul() * DESCRIPTION: marshal 4 unsigned bytes out in big-endian format */

Source from the content-addressed store, hash-verified

206 * DESCRIPTION: marshal 4 unsigned bytes out in big-endian format
207 */
208void d_putul(register unsigned char *ptr,
209 register unsigned long data)
210{
211 *ptr++ = (data & 0xff000000UL) >> 24;
212 *ptr++ = (data & 0x00ff0000UL) >> 16;
213 *ptr++ = (data & 0x0000ff00UL) >> 8;
214 *ptr = (data & 0x000000ffUL) >> 0;
215}
216
217/*
218 * NAME: data->fetchsb()

Callers 1

n_indexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected