Handbook
Glossary
stream-contents* ( stream -- seq )
Vocabulary
io
Inputs
stream
an
object
Outputs
seq
an
object
Definition
IN:
io
GENERIC:
stream-contents*
( stream -- seq )
Methods
USING:
accessors
io
io.streams.counting
kernel
math
sequences
;
M::
counting-stream
stream-contents*
( stream -- seq )
stream
stream>>
stream-contents
:>
seq stream
[
seq
length
+
]
change-in-count
drop
seq
;
USING:
io
io.encodings
io.private
;
M:
decoder
stream-contents*
stream-contents-by-element
;
inline
USING:
accessors
io
io.streams.duplex
kernel
;
M:
duplex-stream
stream-contents*
[
in>>
]
call
\
stream-contents*
execute
;
USING:
io
kernel
;
M:
f
stream-contents*
drop
f
;
inline
USING:
io
io.private
;
M:
input-stream
stream-contents*
stream-contents-by-length-or-block
;
inline
USING:
io
io.streams.tee
io.streams.tee.private
;
M:
tee-stream
stream-contents*
[
stream-contents*
]
[
stream-write
]
tee1
;