There are two unrelated <buffer> classes. The one exported from Module system represents an in-memory buffer, and the one exported from Module streams represents a stream buffer that is owned by a stream and contains arbitrary types.
There are two unrelated <buffer> classes. | |
The class of memory buffers. | |
A class. |
The class of memory buffers.
concrete free sealed
| next: | An instance of <buffer-index>. Defaults to 0. |
| end: | An instance of <buffer-index>. Defaults to 0. |
| fill: | An instance of <byte> specifying an initial value for every byte of the buffer. Defaults to 0x00. |
| size: | An instance of <integer> specifying the size of the vector. The default value is 0. |