PostGIS  2.3.7dev-r@@SVN_REVISION@@
uint32_t gserialized_max_header_size ( void  )

Returns the size in bytes to read from toast to get the basic information from a geometry: GSERIALIZED struct, bbox and type.

Definition at line 63 of file g_serialized.c.

Referenced by geometry_geometrytype(), and LWGEOM_getTYPE().

64 {
65  /* read GSERIALIZED size + max bbox according gbox_serialized_size (2 + Z + M) + 1 int for type */
66  return sizeof(GSERIALIZED) + 8 * sizeof(float) + sizeof(int);
67 }

Here is the caller graph for this function: