io vocabulary
Factor handbook » Vocabulary index


Documentation
Streams

Metadata
Authors:Slava Pestov


Words

Error classes
ClassSuperclassSlots
Image bad-seek-typeImage tupletype


Singleton classes
Image seek-absolute
Image seek-end
Image seek-relative


Mixin classes
Image input-stream
Image output-stream


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


Symbol words
Image +byte+
Image +character+
Image error-stream


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


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


Files


Metadata files


Children from resource:core
VocabularySummary
Image io.backendHooks for native I/O implementation
Image io.encodingsCommon support for ASCII, UTF8 and UTF16 character encodings
Image io.filesReading and writing files
Image io.pathnamesPathname manipulation
Image io.streams
Image io.test


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


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