Method

VipsSbufungetc

Declaration [src]

void
vips_sbuf_ungetc (
  VipsSbuf* sbuf
)

Description [src]

The opposite of vips_sbuf_getc(): undo the previous getc.

unget more than one character is undefined. Unget at the start of the file does nothing.

If you can, use the macro VIPS_SBUF_UNGETC() instead for speed.