byte-streams does not allow transfering bytes directly to a ByteArrayOutputStream:
byte-streams=> (transfer "abcd" (java.io.ByteArrayOutputStream.))
IllegalArgumentException Don't know how to convert class [B into clojure.core$bytes@73703457 byte-streams/convert (byte_streams.clj:345)
Is this supposed to work? If I explicitly convert to an InputStream and then transfer it works.
byte-streams
does not allow transfering bytes directly to aByteArrayOutputStream
:Is this supposed to work? If I explicitly convert to an InputStream and then transfer it works.