Method Stdio.Buffer()->unread()
- Method unread
int(0..)
|int(-1..-1)
unread(int(0..)
n
)- Description
Rewind the buffer
n
bytes.- Returns
This function returns how many more bytes of buffer is available to rewind, or -1 on error.
- Note
Unless you add new data to the buffer using any of the add functions you can always rewind.
You can call unread(0) to see how much.