BRL-CAD
|
Macros | |
#define | SIZEOF_NETWORK_SHORT 2 /* htons(), bu_gshort(), bu_pshort() */ |
#define | SIZEOF_NETWORK_LONG 4 /* htonl(), bu_glong(), bu_plong() */ |
#define | SIZEOF_NETWORK_FLOAT 4 /* htonf() */ |
#define | SIZEOF_NETWORK_DOUBLE 8 /* htond() */ |
Sizes of "network" format data. We use the same convention as the TCP/IP specification, namely, big-Endian, IEEE format, twos complement. This is the BRL-CAD external data representation (XDR). See also the support routines in libbu/xdr.c