bipbuffer
bipbuffer copied to clipboard
a C implementation of Simon Cooke's bipbuffer
Results
2
bipbuffer issues
Sort by
recently updated
recently updated
newest added
In the code: ``` // read another part memcpy((char *)dst+have_read, bip->data+reader->start, size - have_read); have_read = size; reader->start += size; ``` reader->start is incremented with size instead of being incremented...
**writer = get_write_region(bip); reset_region(writer);** should I add "bip->allocated = size " ? code in bb_alloc ();