PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ bytebuffer_reset_reading()

void bytebuffer_reset_reading ( bytebuffer_t s)

Set the read cursor to the beginning.

Definition at line 110 of file bytebuffer.c.

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

111 {
112  s->readcursor = s->buf_start;
113 }
uint8_t * readcursor
Definition: bytebuffer.h:54
uint8_t * buf_start
Definition: bytebuffer.h:52