bool queue_push_n(queue_t *self, const void *elements, size_t count)
Add count elements to the queue.
istream_t cstring_input_stream(const char *value, size_t length)
Create an input stream with the content of a C string.
istream_t string_input_stream(const string_t *value)
Create an input stream with the content of a string.
array_t string_t
A string is an array of char.
void * start
Underlying storage.
size_t count
Number of elements currently stored.
queue_t buffer
Circular buffer of bytes.