PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ bytebuffer_reset_reading()

void bytebuffer_reset_reading ( bytebuffer_t s)

Set the read cursor to the beginning.

Definition at line 98 of file bytebuffer.c.

References bytebuffer_t::buf_start, and bytebuffer_t::readcursor.

99 {
100  s->readcursor = s->buf_start;
101 }
uint8_t * readcursor
Definition: bytebuffer.h:42
uint8_t * buf_start
Definition: bytebuffer.h:40