Handbook
Glossary
<string-writer> ( -- stream )
Factor handbook
»
Input and output
»
String streams
Prev:
<string-reader> ( str -- stream )
Next:
with-string-reader ( str quot -- )
Vocabulary
io
.
streams
.
string
Inputs
None
Outputs
stream
an output stream
Word description
Creates an output stream that collects text into a string buffer. The contents of the buffer can be obtained by executing
>string
.
Definition
USING:
sbufs
;
IN:
io.streams.string
:
<string-writer>
( -- stream )
512
<sbuf>
;
inline