Liking cljdoc? Tell your friends :D

javax.imageio.stream.FileImageOutputStream

An implementation of ImageOutputStream that writes its output directly to a File or RandomAccessFile.

An implementation of ImageOutputStream that writes its
output directly to a File or
RandomAccessFile.
raw docstring

->file-image-output-streamclj

(->file-image-output-stream f)

Constructor.

Constructs a FileImageOutputStream that will write to a given File.

f - a File to write to. - java.io.File

throws: java.lang.IllegalArgumentException - if f is null.

Constructor.

Constructs a FileImageOutputStream that will write
 to a given File.

f - a File to write to. - `java.io.File`

throws: java.lang.IllegalArgumentException - if f is null.
raw docstring

closeclj

(close this)

Description copied from interface: ImageInputStream

throws: java.io.IOException - if an I/O error occurs.

Description copied from interface: ImageInputStream

throws: java.io.IOException - if an I/O error occurs.
raw docstring

lengthclj

(length this)

Description copied from class: ImageInputStreamImpl

returns: -1L to indicate unknown length. - long

Description copied from class: ImageInputStreamImpl

returns: -1L to indicate unknown length. - `long`
raw docstring

readclj

(read this)
(read this b off len)

Description copied from class: ImageInputStreamImpl

b - an array of bytes to be written to. - byte[] off - the starting position within b to write to. - int len - the maximum number of bytes to read. - int

returns: the number of bytes actually read, or -1 to indicate EOF. - int

throws: java.io.IOException - if an I/O error occurs.

Description copied from class: ImageInputStreamImpl

b - an array of bytes to be written to. - `byte[]`
off - the starting position within b to write to. - `int`
len - the maximum number of bytes to read. - `int`

returns: the number of bytes actually read, or -1
 to indicate EOF. - `int`

throws: java.io.IOException - if an I/O error occurs.
raw docstring

seekclj

(seek this pos)

Sets the current stream position and resets the bit offset to 0. It is legal to seeking past the end of the file; an EOFException will be thrown only if a read is performed. The file length will not be increased until a write is performed.

pos - a long containing the desired file pointer position. - long

throws: java.lang.IndexOutOfBoundsException - if pos is smaller than the flushed position.

Sets the current stream position and resets the bit offset to
 0.  It is legal to seeking past the end of the file; an
 EOFException will be thrown only if a read is
 performed.  The file length will not be increased until a write
 is performed.

pos - a long containing the desired file pointer position. - `long`

throws: java.lang.IndexOutOfBoundsException - if pos is smaller than the flushed position.
raw docstring

writeclj

(write this b)
(write this b off len)

Description copied from interface: ImageOutputStream

b - an array of bytes to be written. - byte[] off - the start offset in the data. - int len - the number of bytes to write. - int

throws: java.io.IOException - if an I/O error occurs.

Description copied from interface: ImageOutputStream

b - an array of bytes to be written. - `byte[]`
off - the start offset in the data. - `int`
len - the number of bytes to write. - `int`

throws: java.io.IOException - if an I/O error occurs.
raw docstring

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

× close