| 1 # Buffer |
1 # Buffer |
| 2 |
2 |
| |
3 <warning> |
| |
4 Outdated - Rewrite! |
| |
5 </warning> |
| |
6 |
| 3 Instances of this buffer implementation can be used to read from or write to memory like you would do with a stream. |
7 Instances of this buffer implementation can be used to read from or write to memory like you would do with a stream. |
| 4 This allows the use of `cx_stream_copy()` (see [Utilities](#utilities)) to copy contents from one buffer to another, |
8 This allows the use of `cx_stream_copy()` (see [](streams.h.md)) to copy contents from one buffer to another, |
| 5 or from a file or network streams to the buffer and vice-versa. |
9 or from a file or network streams to the buffer and vice-versa. |
| 6 |
10 |
| 7 More features for convenient use of the buffer can be enabled, like automatic memory management and automatic |
11 More features for convenient use of the buffer can be enabled, like automatic memory management and automatic |
| 8 resizing of the buffer space. |
12 resizing of the buffer space. |
| 9 |
13 |