PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ bytebuffer_clear()

void bytebuffer_clear ( bytebuffer_t s)

Reset the bytebuffer_t.

Useful for starting a fresh string without the expense of freeing and re-allocating a new bytebuffer_t.

Definition at line 130 of file bytebuffer.c.

131 {
132  s->readcursor = s->writecursor = s->buf_start;
133 }
char * s
Definition: cu_in_wkt.c:23

References s.