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:
Crispin Wellington 2022-09-26 16:52:59 +08:00 committed by GitHub
parent 7baa0542ec
commit e6f6b02c06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -7,7 +7,7 @@ A preview of the next release can be installed from
## Unreleased
...
- Add single argument read method support to PipedInputStream proxy ([@retrogradeorbit](https://github.com/retrogradeorbit))
## 0.10.163 (2022-09-24)

View file

@ -86,8 +86,10 @@
(read
([]
((method-or-bust methods 'read) this))
([b off len]
((method-or-bust methods 'read) this b off len)))
([bs]
((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)))
["java.io.PipedOutputStream" #{}]