PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ LWSIZE_GET

#define LWSIZE_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 324 of file liblwgeom.h.