Handbook
Glossary
buffer-peek ( buffer: buffer -- byte )
Factor handbook
»
The language
»
Collections
»
Locked I/O buffers
Prev:
buffer@ ( buffer: buffer -- alien )
Next:
buffer-pop ( buffer: buffer -- byte )
Vocabulary
io
.
buffers
Inputs
buffer
a
buffer
Outputs
byte
a byte
Word description
Outputs the byte at the buffer position.
Definition
USING:
accessors
alien.accessors
kernel
typed
;
IN:
io.buffers
TYPED:
buffer-peek
( buffer: buffer -- byte )
[
ptr>>
]
[
pos>>
]
bi
alien-unsigned-1
;
inline