Handbook
Glossary
buffer+ ( n: fixnum buffer: buffer -- )
Factor handbook
»
The language
»
Collections
»
Locked I/O buffers
Prev:
buffer-write ( c-ptr n buffer: buffer -- )
Vocabulary
io
.
buffers
Inputs
n
a non-negative integer
buffer
a
buffer
Outputs
None
Word description
Advances the fill pointer by
n
bytes.
Warning
This word will leave the buffer in an invalid state if it does not have
n
bytes available.
Definition
USING:
accessors
kernel
math.private
typed
;
IN:
io.buffers
TYPED:
buffer+
( n: fixnum buffer: buffer -- )
[
fixnum+fast
]
change-fill
drop
;
inline