Deprecated. This class incorrectly assumes that bytes adequately represent characters. As of JDK 1.1, the preferred way to operate on character streams is via the new character-stream classes, which include a class for counting line numbers.
Deprecated. This class incorrectly assumes that bytes adequately represent characters. As of JDK 1.1, the preferred way to operate on character streams is via the new character-stream classes, which include a class for counting line numbers.
(->line-number-input-stream in)
Constructor.
Deprecated.
in - the underlying input stream. - java.io.InputStream
Constructor. Deprecated. in - the underlying input stream. - `java.io.InputStream`
(available this)
Deprecated.
returns: the number of bytes that can be read from this input stream
without blocking. - int
throws: java.io.IOException - if an I/O error occurs.
Deprecated. returns: the number of bytes that can be read from this input stream without blocking. - `int` throws: java.io.IOException - if an I/O error occurs.
(get-line-number this)
Deprecated.
returns: the current line number. - int
Deprecated. returns: the current line number. - `int`
(mark this readlimit)
Deprecated.
readlimit - the maximum limit of bytes that can be read before the mark position becomes invalid. - int
Deprecated. readlimit - the maximum limit of bytes that can be read before the mark position becomes invalid. - `int`
(read this)
(read this b off len)
Deprecated.
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 total number of bytes read into the buffer, or
-1 if there is no more data because the end of
this stream has been reached. - int
throws: java.io.IOException - if an I/O error occurs.
Deprecated. 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 total number of bytes read into the buffer, or -1 if there is no more data because the end of this stream has been reached. - `int` throws: java.io.IOException - if an I/O error occurs.
(reset this)
Deprecated.
throws: java.io.IOException - if an I/O error occurs.
Deprecated. throws: java.io.IOException - if an I/O error occurs.
(set-line-number this line-number)
Deprecated.
line-number - the new line number. - int
Deprecated. line-number - the new line number. - `int`
(skip this n)
Deprecated.
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 occurs.
Deprecated. 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 occurs.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close