PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ gserialized1_max_header_size()

uint32_t gserialized1_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 116 of file gserialized1.c.

117 {
118  /* GSERIALIZED size + max bbox according gbox_serialized_size (XYZM*2) + extended flags + type */
119  return offsetof(GSERIALIZED, data) + 8 * sizeof(float) + sizeof(uint32_t);
120 }
data
Definition: ovdump.py:104

References ovdump::data.

Referenced by gserialized_max_header_size().

Here is the caller graph for this function: