Handbook
Glossary
buffer@ ( buffer: buffer -- alien )
Factor handbook
»
The language
»
Collections
»
Locked I/O buffers
Prev:
buffer-capacity ( buffer: buffer -- n )
Next:
buffer-peek ( buffer: buffer -- byte )
Vocabulary
io
.
buffers
Inputs
buffer
a
buffer
Outputs
alien
an
alien
Word description
Outputs the memory address of the current buffer position.
Definition
USING:
accessors
alien
kernel
typed
;
IN:
io.buffers
TYPED:
buffer@
( buffer: buffer -- alien )
[
pos>>
]
[
ptr>>
]
bi
<displaced-alien>
;
inline