Handbook
Glossary
buffer-pop ( buffer: buffer -- byte )
Factor handbook
»
The language
»
Collections
»
Locked I/O buffers
Prev:
buffer-peek ( buffer: buffer -- byte )
Next:
buffer-read ( n: fixnum buffer: buffer -- byte-array )
Vocabulary
io
.
buffers
Inputs
buffer
a
buffer
Outputs
byte
a byte
Word description
Outputs the byte at the buffer position and advances the position.
Definition
USING:
kernel
typed
;
IN:
io.buffers
TYPED:
buffer-pop
( buffer: buffer -- byte )
[
buffer-peek
]
[
1
swap
buffer-consume
]
bi
;
inline