MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / bword

Function bword

Source/Amiga/dernc.cpp:311–316  ·  view source on GitHub ↗

* Return the big-endian word at p. */

Source from the content-addressed store, hash-verified

309 * Return the big-endian word at p.
310 */
311static unsigned long bword (unsigned char *p) {
312 unsigned long n;
313 n = p[0];
314 n = (n << 8) + p[1];
315 return n;
316}
317
318/*
319 * Return the little-endian word at p.

Callers 1

rnc_unpackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected