(indexing-push-back-reader s-or-rdr)
(indexing-push-back-reader s-or-rdr buf-len)
(indexing-push-back-reader s-or-rdr buf-len file-name)
Creates an IndexingPushbackReader from a given string or PushbackReader
Source
(defn
indexing-push-back-reader
"Creates an IndexingPushbackReader from a given string or PushbackReader"
([s-or-rdr] (indexing-push-back-reader s-or-rdr 1))
([s-or-rdr buf-len] (indexing-push-back-reader s-or-rdr buf-len nil))
([s-or-rdr buf-len file-name]
(IndexingPushbackReader.
(if
(string? s-or-rdr)
(string-push-back-reader s-or-rdr buf-len)
s-or-rdr)
1
1
true
nil
0
file-name)))