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

◆ gserialized2_header_size()

static size_t gserialized2_header_size ( const GSERIALIZED g)
inlinestatic

Definition at line 91 of file gserialized2.c.

92{
93 uint32_t sz = 8; /* varsize (4) + srid(3) + flags (1) */
94
96 sz += 8;
97
99 sz += gserialized2_box_size(g);
100
101 return sz;
102}
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: