bytes2func.o

Description

bytes2func.o is the compiled object module generated from bytes2func.c and bytes2func.h in code/sidescan/xtf/.

Exported Symbols

When linked into xtf2glo via sidescan/xtf/makefile, bytes2func.o provides:

  • bytes2short(unsigned char *) — Unpacks a 2-byte signed short, reversing byte order if SWAP == TRUE.
  • bytes2int(unsigned char *) — Unpacks a 4-byte signed int, reversing byte order if SWAP == TRUE.
  • bytes2float(unsigned char *) — Unpacks a 4-byte IEEE float, reversing byte order if SWAP == TRUE.
  • bytes2double(unsigned char *) — Unpacks an 8-byte IEEE double, reversing byte order if SWAP == TRUE.

See bytes2func for full implementation details.