stream-seekable? ( stream -- ? )
Factor handbook » Input and output » Streams » Stream protocol

Prev:stream-nl ( stream -- )
Next:stream-tell ( stream -- n )


Vocabulary
io

Inputs
streama stream


Outputs
?a boolean


Word description
Returns true if stream is a seekable stream.

Notes
Stream seeking is not supported on streams that do not have a known length, e.g. TCP/IP streams.

See also
stream-seek, stream-tell, stream-length

Definition


Methods