ObjectOutput extends the DataOutput interface to include writing of objects. DataOutput includes methods for output of primitive types, ObjectOutput extends that interface to include objects, arrays, and Strings.
ObjectOutput extends the DataOutput interface to include writing of objects. DataOutput includes methods for output of primitive types, ObjectOutput extends that interface to include objects, arrays, and Strings.
(close this)
Closes the stream. This method must be called to release any resources associated with the stream.
throws: java.io.IOException - If an I/O error has occurred.
Closes the stream. This method must be called to release any resources associated with the stream. throws: java.io.IOException - If an I/O error has occurred.
(flush this)
Flushes the stream. This will write any buffered output bytes.
throws: java.io.IOException - If an I/O error has occurred.
Flushes the stream. This will write any buffered output bytes. throws: java.io.IOException - If an I/O error has occurred.
(write this b)
(write this b off len)
Writes a sub array of bytes.
b - the data to be written - byte[]
off - the start offset in the data - int
len - the number of bytes that are written - int
throws: java.io.IOException - If an I/O error has occurred.
Writes a sub array of bytes. b - the data to be written - `byte[]` off - the start offset in the data - `int` len - the number of bytes that are written - `int` throws: java.io.IOException - If an I/O error has occurred.
(write-object this obj)
Write an object to the underlying storage or stream. The class that implements this interface defines how the object is written.
obj - the object to be written - java.lang.Object
throws: java.io.IOException - Any of the usual Input/Output related exceptions.
Write an object to the underlying storage or stream. The class that implements this interface defines how the object is written. obj - the object to be written - `java.lang.Object` throws: java.io.IOException - Any of the usual Input/Output related exceptions.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close