Liking cljdoc? Tell your friends :D

bites.io

This file extends the polymorphic I/O utility functions already present in Clojure to ByteBuffer/ReadableByteChannel/WritableByteChannel.

This file extends the polymorphic I/O utility functions already present in Clojure to ByteBuffer/ReadableByteChannel/WritableByteChannel.
raw docstring

copyclj

(copy input output opts)

Copies input to output. Returns nil or throws IOException. Input may be an InputStream, Reader, File, byte[], char[], String, ByteBuffer, or ReadableByteChannel. Output may be an OutputStream, Writer, File, or WritableByteChannel.

Options are key/value pairs and may be one of

:buffer-size buffer size to use, default is 1024. :encoding encoding to use if converting between byte and char streams.

Does not close any streams except those it opens itself (on a File).

Copies input to output.  Returns nil or throws IOException.
Input may be an InputStream, Reader, File, byte[], char[], String, ByteBuffer, or ReadableByteChannel.
Output may be an OutputStream, Writer, File, or WritableByteChannel.

Options are key/value pairs and may be one of

  :buffer-size  buffer size to use, default is 1024.
  :encoding     encoding to use if converting between
                byte and char streams.

Does not close any streams except those it opens itself
(on a File).
sourceraw docstring

do-copycljmultimethod

source

from-pipe!clj

(from-pipe! pipe n)

Reads <n> bytes from this Pipe's source-channel. Returns byte-array.

Reads <n> bytes from this Pipe's source-channel.
Returns byte-array.
sourceraw docstring

into-pipe!clj

(into-pipe! pipe x)
(into-pipe! pipe x opts)

Writes <x> into this Pipe's sink-channel. Returns nil.

Writes <x> into this Pipe's sink-channel.
Returns nil.
sourceraw docstring

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

× close