Liking cljdoc? Tell your friends :D

jdk.io.ObjectInput

ObjectInput extends the DataInput interface to include the reading of objects. DataInput includes methods for the input of primitive types, ObjectInput extends that interface to include objects, arrays, and Strings.

ObjectInput extends the DataInput interface to include the reading of
objects. DataInput includes methods for the input of primitive types,
ObjectInput extends that interface to include objects, arrays, and Strings.
raw docstring

availableclj

(available this)

Returns the number of bytes that can be read without blocking.

returns: the number of available bytes. - int

throws: java.io.IOException - If an I/O error has occurred.

Returns the number of bytes that can be read
 without blocking.

returns: the number of available bytes. - `int`

throws: java.io.IOException - If an I/O error has occurred.
raw docstring

closeclj

(close this)

Closes the input stream. Must be called to release any resources associated with the stream.

throws: java.io.IOException - If an I/O error has occurred.

Closes the input stream. Must be called
 to release any resources associated with
 the stream.

throws: java.io.IOException - If an I/O error has occurred.
raw docstring

readclj

(read this)
(read this b)
(read this b off len)

Reads into an array of bytes. This method will block until some input is available.

b - the buffer into which the data is read - byte[] off - the start offset of the data - int len - the maximum number of bytes read - int

returns: the actual number of bytes read, -1 is returned when the end of the stream is reached. - int

throws: java.io.IOException - If an I/O error has occurred.

Reads into an array of bytes.  This method will
 block until some input is available.

b - the buffer into which the data is read - `byte[]`
off - the start offset of the data - `int`
len - the maximum number of bytes read - `int`

returns: the actual number of bytes read, -1 is
          returned when the end of the stream is reached. - `int`

throws: java.io.IOException - If an I/O error has occurred.
raw docstring

read-objectclj

(read-object this)

Read and return an object. The class that implements this interface defines where the object is "read" from.

returns: the object read from the stream - java.lang.Object

throws: java.lang.ClassNotFoundException - If the class of a serialized object cannot be found.

Read and return an object. The class that implements this interface
 defines where the object is "read" from.

returns: the object read from the stream - `java.lang.Object`

throws: java.lang.ClassNotFoundException - If the class of a serialized object cannot be found.
raw docstring

skipclj

(skip this n)

Skips n bytes of input.

n - the number of bytes to be skipped - long

returns: the actual number of bytes skipped. - long

throws: java.io.IOException - If an I/O error has occurred.

Skips n bytes of input.

n - the number of bytes to be skipped - `long`

returns: the actual number of bytes skipped. - `long`

throws: java.io.IOException - If an I/O error has occurred.
raw docstring

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

× close