Handbook
Glossary
output-stream
Factor handbook
»
Input and output
»
Streams
»
Default input and output streams
Prev:
with-input-stream* ( stream quot -- )
Next:
flush ( -- )
Vocabulary
io
Variable description
Holds an output stream for various implicit stream operations. Rebound using
with-output-stream
and
with-output-stream*
.
Variable value
Current value in global namespace:
T{
encoder
f
~output-port~
utf8
}
Definition
USING:
byte-vectors
curses.listener
growable
html.streams
io.crlf
io.encodings
io.ports
io.streams.c
io.streams.counting
io.streams.duplex
io.streams.null
io.streams.peek
io.styles
ui.gadgets.panes
;
IN:
io
MIXIN:
output-stream
INSTANCE:
encoder
output-stream
INSTANCE:
growable
output-stream
INSTANCE:
byte-vector
output-stream
INSTANCE:
c-writer
output-stream
INSTANCE:
style-stream
output-stream
INSTANCE:
null-writer
output-stream
INSTANCE:
output-port
output-stream
INSTANCE:
duplex-stream
output-stream
INSTANCE:
pane-stream
output-stream
INSTANCE:
crlf-stream
output-stream
INSTANCE:
html-writer
output-stream
INSTANCE:
curses-listener-stream
output-stream
INSTANCE:
peek-stream
output-stream
INSTANCE:
counting-stream
output-stream
Methods
USING:
io
kernel
;
M:
output-stream
stream-flush
drop
;
inline
USING:
io
kernel
;
M:
output-stream
stream-length
drop
f
;
inline
USING:
io
kernel
;
M:
output-stream
stream-nl
10
swap
stream-write1
;
inline
USING:
io
kernel
;
M:
output-stream
stream-seekable?
drop
f
;
inline
USING:
io
kernel
sequences
;
M:
output-stream
stream-write
[
stream-write1
]
curry
each
;
inline