PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ gserialized2_max_header_size()

uint32_t gserialized2_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 178 of file gserialized2.c.

179{
180 /* GSERIALIZED size + max bbox according gbox_serialized_size (XYZM*2) + extended flags + type */
181 return offsetof(GSERIALIZED, data) + 8 * sizeof(float) + sizeof(uint64_t) + sizeof(uint32_t);
182}

Referenced by gserialized_max_header_size().

Here is the caller graph for this function: