Liking cljdoc? Tell your friends :D
Clojure only.

mantle.io


string-input-streamclj

(string-input-stream s & {:keys [charset]})

Returns a slurp-able input stream that contains s. This can be useful as a double when testing functions that expect an input stream. The charset may be either a String naming a valid charset, or an instance of java.nio.Charset (please see the Javadoc for details). If a charset is not specified, the default charset for the platform is used.

Returns a `slurp`-able input stream that contains `s`.  This can be useful
as a double when testing functions that expect an input stream. The `charset`
may be either a `String` naming a valid charset, or an instance of
`java.nio.Charset` (please see the Javadoc for details).  If a charset is not
specified, the default charset for the platform is used.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close