io vocabulary
Factor handbook ยป Vocabulary index


Documentation
Streams

Metadata
Authors:Slava Pestov


Words

Error classes
ClassSuperclassSlots
bad-seek-type tupletype


Singleton classes
seek-absolute
seek-end
seek-relative


Mixin classes
input-stream
output-stream


Generic words
WordStack effect
stream-contents*( stream -- seq )
stream-element-type( stream -- type )
stream-flush( stream -- )
stream-length( stream -- n/f )
stream-nl( stream -- )
stream-read-partial-unsafe( n buf stream -- count )
stream-read-unsafe( n buf stream -- count )
stream-read-until( seps stream -- seq sep/f )
stream-read1( stream -- elt )
stream-readln( stream -- str/f )
stream-seek( n seek-type stream -- )
stream-seekable?( stream -- ? )
stream-tell( stream -- n )
stream-write( data stream -- )
stream-write1( elt stream -- )


Symbol words
+byte+
+character+
error-stream


Ordinary words
WordStack effect
(each-stream-block)( ... stream quot: ( ... block -- ... ) block-size -- ... )
(each-stream-block-slice)( ... stream quot: ( ... block-slice -- ... ) block-size -- ... )
bad-seek-type( type -- * )
bl( -- )
default-block-size( -- value )
each-block( ... quot: ( ... block -- ... ) -- ... )
each-block-slice( ... quot: ( ... block -- ... ) -- ... )
each-line( ... quot: ( ... line -- ... ) -- ... )
each-stream-block( ... stream quot: ( ... block -- ... ) -- ... )
each-stream-block-slice( ... stream quot: ( ... block-slice -- ... ) -- ... )
each-stream-line( ... stream quot: ( ... line -- ... ) -- ... )
flush( -- )
nl( -- )
print( str -- )
read( n -- seq )
read-contents( -- seq )
read-into( buf -- buf-slice more? )
read-lines( -- seq )
read-partial( n -- seq )
read-partial-into( buf -- buf-slice more? )
read-until( seps -- seq sep/f )
read1( -- elt )
readln( -- str/f )
seek-input( n seek-type -- )
seek-output( n seek-type -- )
stream-bl( stream -- )
stream-contents( stream -- seq )
stream-copy( in out -- )
stream-copy*( in out -- )
stream-lines( stream -- seq )
stream-print( str stream -- )
stream-read( n stream -- seq/f )
stream-read-into( buf stream -- buf-slice more? )
stream-read-partial( n stream -- seq/f )
stream-read-partial-into( buf stream -- buf-slice more? )
tell-input( -- n )
tell-output( -- n )
with-error-stream( stream quot -- )
with-error-stream*( stream quot -- )
with-error>output( quot -- )
with-input-output+error-streams( input output+error quot -- )
with-input-output+error-streams*( input output+error quot -- )
with-input-stream( stream quot -- )
with-input-stream*( stream quot -- )
with-output+error-stream( stream quot -- )
with-output+error-stream*( stream quot -- )
with-output-stream( stream quot -- )
with-output-stream*( stream quot -- )
with-output>error( quot -- )
with-streams( input output quot -- )
with-streams*( input output quot -- )
write( seq -- )
write-lines( seq -- )
write1( elt -- )


Class predicate words
WordStack effect
bad-seek-type?( object -- ? )
input-stream?( object -- ? )
output-stream?( object -- ? )
seek-absolute?( object -- ? )
seek-end?( object -- ? )
seek-relative?( object -- ? )


Files


Metadata files


Children from resource:core
VocabularySummary
io.encodingsCommon support for ASCII, UTF8 and UTF16 character encodings
io.io-tests.factor
io.io-docs.factor
io.test
io.streams
io.backendHooks for native I/O implementation
io.io.factor
io.summary.txt
io.filesReading and writing files
io.pathnamesPathname manipulation
io.authors.txt


Children from resource:basis
VocabularySummary
io.encodingsCommon support for ASCII, UTF8 and UTF16 character encodings
io.monitorsFile alteration monitoring
io.buffersHigh-performance pinned FIFO buffers
io.launcherLaunching operating system processes
io.poolsAbstract connection pooling
io.socketsClient and server TCP/IP sockets, UDP/IP datagram sockets
io.mmapMemory-mapped files
io.streams
io.timeoutsLow-level support for setting timeouts on I/O operations
io.backendHooks for native I/O implementation
io.pipesPipes for inter-process communication
io.standard-paths
io.stylesStyles which can be used to mark up text sent to an output stream
io.filesReading and writing files
io.directoriesListing directories, moving, copying and deleting files
io.portsLow-level implementation support for native I/O
io.thread
io.serversMulti-threaded TCP/IP servers
io.crlfWriting with and reading until \r\n


Children from resource:extra
VocabularySummary
io.encodingsCommon support for ASCII, UTF8 and UTF16 character encodings
io.streams
io.filesReading and writing files
io.random
io.serialSerial port library