buffer-write ( c-ptr n buffer: buffer -- )
Factor handbook » The language » Collections » Locked I/O buffers

Prev:buffer-write1 ( byte: fixnum buffer: buffer -- )
Next:buffer+ ( n: fixnum buffer: buffer -- )


Vocabulary
io.buffers

Inputs
c-ptra c-ptr
na fixnum
buffera buffer


Outputs
None

Word description
Copies a c-ptr to the buffer's fill pointer, and advances it accordingly.

Warning
This word will corrupt memory if writing more than the space available in the buffer.


Definition