PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ getMachineEndian()

char getMachineEndian ( void  )

Definition at line 327 of file lwutil.c.

328 {
329  static int endian_check_int = 1; /* don't modify this!!! */
330 
331  return *((char *) &endian_check_int); /* 0 = big endian | xdr,
332  * 1 = little endian | ndr
333  */
334 }

Referenced by lwgeom_from_wkb_state(), lwgeom_to_wkb(), and wkb_swap_bytes().

Here is the caller graph for this function: