Re: Question about parserutils_buffer_discard
On 27/03/14 15:20, Elie Roudninski wrote: I wonder why you would move more data than what's left in the buffer ? As i understand the situation, there is buffer->length-(offset+len) bytes left, my question is, why not do this : memmove(buffer->data + offset, buffer->data + offset + len, buffer-
Question about parserutils_buffer_discard
Hi everyone, I have a question about the function parserutils_buffer_discard. As i understand, it is meant to "discard" some data from the buffer : --- | ||| |