4 A *fastbuf* is a stream (or file) abstraction optimized for both speed
7 Fastbufs can represent many different kinds of objects: regular files, network
8 sockets, file descriptors in general, or various memory buffers. These objects
9 are handled by different fastbuf *back-ends.*
11 Once you have a fastbuf, you can access it by fuctions similar to those of
12 `stdio.h`, or you can use a variety of fastbuf *front-ends* providing various
15 Please keep in mind that fastbufs do not allow arbitrary mixing of reads and
16 writes on the same stream. If you need to mix them, you have to call @bflush()
17 inbetween and remember that the file position reported by @btell() points after
18 the flushed buffer, which is not necessarily the same as after the data you've
22 - <<fbparam,Files (parametrized)>>
23 - <<fbfile,Regular files>>
24 - <<fbtemp,Temporary files>>
25 - <<fblim,File fragments>>
26 - <<fbmem,In-memory streams>>
28 - <<fbgrow,Growing buffers>>
29 - <<fbpool,Memory pools>>
30 - <<fbatomic,Atomic files>>
33 - <<ffbasic,Basic functions>>
36 - <<internal,Internal structure>>
37 - <<bconfig,Configuring streams>>
47 Fastbufs on network sockets with timeouts.
54 Reading and writing of unicode characters.
56 Invalid codes are replaced by `UNI_REPLACEMENT` when reading.