io.buffers vocabulary
Factor handbook ยป Vocabulary index


Documentation
Locked I/O buffers

Metadata
Parents:io
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
buffer tuplesize ptr fill pos disposed


Ordinary words
WordStack effect
<buffer>( n -- buffer )
buffer+( n: fixnum buffer: buffer -- )
buffer-capacity( buffer: buffer -- n )
buffer-consume( n: fixnum buffer: buffer -- )
buffer-empty?( buffer: buffer -- ? )
buffer-end( buffer: buffer -- alien )
buffer-find( seps buffer: buffer -- n/f )
buffer-length( buffer: buffer -- n )
buffer-peek( buffer: buffer -- byte )
buffer-pop( buffer: buffer -- byte )
buffer-read( n: fixnum buffer: buffer -- byte-array )
buffer-read-into( dst n: fixnum buffer: buffer -- count )
buffer-read-unsafe( n: fixnum buffer: buffer -- n ptr )
buffer-read-until( seps buffer: buffer -- byte-array sep/f )
buffer-reset( n: fixnum buffer: buffer -- )
buffer-write( c-ptr n buffer: buffer -- )
buffer-write1( byte: fixnum buffer: buffer -- )
buffer@( buffer: buffer -- alien )


Class predicate words
WordStack effect
buffer?( object -- ? )


Files


Metadata files