(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:
Integer
)Integer
)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`)
(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:
Integer
representing the initial size, orOtpErlangObject
.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`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close