Age | Commit message (Collapse) | Author |
|
Getting an error when reading 0 bytes is surprising compared to common
read interfaces.
|
|
|
|
|
|
|
|
Not a real change, it's just that MIT license seems to be the most
popular permissive license.
|
|
|
|
Rename cbuf_push and cbuf_pop to cbuf_pushb and cbuf_pop respectively,
and add the new cbuf_push and cbuf_pop functions, that provide the same
services as the old functions, on buffers rather than single bytes.
|
|
This change brings an interface for fast buffered accesses to the content
of a circular buffer, and also an interface to write into a circular
buffer at custom locations, in exchange for a small interface break
of cbuf_read.
|