Liking cljdoc? Tell your friends :D

jiface.otp.streams


input-streamclj

(input-stream args)

Constructor for OtpInputStream.

If one arg is passed, it must be an array of bytes.

If two args are passed, the first must be an array of bytes and the second must be the flags (an Integer).

If four args are passed, they must be:

  • an array of bytes
  • the offset (Integer)
  • the length (Integer)
  • flags (Integer)
Constructor for `OtpInputStream`.

If one arg is passed, it must be an array of bytes.

If two args are passed, the first must be an array of bytes and the
second must be the flags (an `Integer`).

If four args are passed, they must be:

* an array of bytes
* the offset (`Integer`)
* the length (`Integer`)
* flags (`Integer`)
sourceraw docstring

output-streamclj

(output-stream & args)

Constructor for OtpOutputStream.

If no argument is passed, create a stream with the default initial size (2048 bytes).

If one arg is passed, it must be either:

  • an Integer representing the initial size, or
  • an OtpErlangObject.
Constructor for `OtpOutputStream`.

If no argument is passed, create a stream with the default initial size
(2048 bytes).

If one arg is passed, it must be either:

* an `Integer` representing the initial size, or
* an `OtpErlangObject`.
sourceraw docstring

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

× close