PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ isMachineLittleEndian()

uint8_t isMachineLittleEndian ( void  )

Definition at line 190 of file rt_serialize.c.

Referenced by rt_band_from_wkb(), rt_raster_deserialize(), and rt_raster_to_wkb().

190  {
191  static int endian_check_int = 1; /* dont modify this!!! */
192  /* 0=big endian|xdr -- 1=little endian|ndr */
193  return *((uint8_t *) & endian_check_int);
194 }
unsigned char uint8_t
Definition: uthash.h:79
Here is the caller graph for this function: