PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ SIZE_GET

#define SIZE_GET (   varsize)    (((varsize) >> 2) & 0x3FFFFFFF)

Macro for reading the size from the GSERIALIZED size attribute.

Cribbed from PgSQL, top 30 bits are size. Use VARSIZE() when working internally with PgSQL. See SET_VARSIZE_4B / VARSIZE_4B in PGSRC/src/include/postgres.h for details.

Definition at line 128 of file liblwgeom_internal.h.