DaveInDev
Member
Probably a stupid question and I'll be shot down for this but :
while iterating a buffer in a loop with buffer_read, how do you detect the end of the buffer ?
Because buffer_read crashes if you try to read after the end...
Do I have to use buffer_get_size and count my steps, or is there a shorter way ?
while iterating a buffer in a loop with buffer_read, how do you detect the end of the buffer ?
Because buffer_read crashes if you try to read after the end...
Do I have to use buffer_get_size and count my steps, or is there a shorter way ?