O2S C Library 1.8.2
Provide high-level data-structures and other fundamental tools for C projects
Loading...
Searching...
No Matches
istream_t Struct Reference

Input Stream. More...

#include <input_stream.h>

Data Fields

queue_t buffer
 Circular buffer of bytes.
bool(* accumulate )(struct input_stream *self, size_t count)
 Ask if the stream can provide at least count bytes to read.

Detailed Description

Input Stream.

Abstraction layer hiding either a file input stream of a string input stream

Definition at line 27 of file input_stream.h.