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

◆ gserialized2_header_size()

static size_t gserialized2_header_size ( const GSERIALIZED g)
inlinestatic

Definition at line 89 of file gserialized2.c.

90{
91 uint32_t sz = 8; /* varsize (4) + srid(3) + flags (1) */
92
94 sz += 8;
95
97 sz += gserialized2_box_size(g);
98
99 return sz;
100}
static size_t gserialized2_box_size(const GSERIALIZED *g)
int gserialized2_has_extended(const GSERIALIZED *g)
Check if a GSERIALIZED has an extended flags section.
int gserialized2_has_bbox(const GSERIALIZED *g)
Check if a GSERIALIZED has a bounding box without deserializing first.

References gserialized2_box_size(), gserialized2_has_bbox(), and gserialized2_has_extended().

Referenced by gserialized2_hash().

Here is the call graph for this function:
Here is the caller graph for this function: