IO helpers (experimental, changes expected).
IO helpers (experimental, changes expected).
(bounded-input-stream input size & {:keys [close?] :or {close? true}})(bytes-input-stream data)Creates an instance of ByteArrayInputStream.
Creates an instance of ByteArrayInputStream.
(close! stream)(copy! src
dst
&
{:keys [offset size buffer-size]
:or {offset 0 buffer-size default-buffer-size}})(data-input-stream input)(data-input-stream? s)(data-output-stream output)(data-output-stream? s)(input-stream x & {:as opts})(input-stream? s)(output-stream x & {:as opts})(output-stream? s)(read-as-bytes input & {:keys [size]})Read input stream as byte array.
Read input stream as byte array.
(resource x)(resource x loader)(write-to-file! src dst & {:keys [size]})cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |