Add single arg read method to PipedInputStream proxy (#1372)
* reify java.lang.Object with optional toString and finalize * add single argument read method to PipedInputStream proxy * update changelog Co-authored-by: Michiel Borkent <michielborkent@gmail.com>
This commit is contained in:
parent
7baa0542ec
commit
e6f6b02c06
2 changed files with 5 additions and 3 deletions
|
|
@ -7,7 +7,7 @@ A preview of the next release can be installed from
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
...
|
- Add single argument read method support to PipedInputStream proxy ([@retrogradeorbit](https://github.com/retrogradeorbit))
|
||||||
|
|
||||||
## 0.10.163 (2022-09-24)
|
## 0.10.163 (2022-09-24)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -86,8 +86,10 @@
|
||||||
(read
|
(read
|
||||||
([]
|
([]
|
||||||
((method-or-bust methods 'read) this))
|
((method-or-bust methods 'read) this))
|
||||||
([b off len]
|
([bs]
|
||||||
((method-or-bust methods 'read) this b off len)))
|
((method-or-bust methods 'read) this bs))
|
||||||
|
([bs off len]
|
||||||
|
((method-or-bust methods 'read) this bs off len)))
|
||||||
(receive [b] ((method-or-bust methods 'receive) this b)))
|
(receive [b] ((method-or-bust methods 'receive) this b)))
|
||||||
|
|
||||||
["java.io.PipedOutputStream" #{}]
|
["java.io.PipedOutputStream" #{}]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue