On Oct 23, 2:16 pm, Baishampayan Ghose wrote:
> Is there any way to use duck-streams to write data as binary?
No, duck-streams only does text. For binary I/O, you need the
InputStream and OutputStream classes.
-SS
--~--~-~--~~~---~--~~
You received this message
Baishampayan Ghose writes:
> Hello,
>
> I was trying to download a zip file using clojure.contrib.http.agent and
> writing it to a file using clojure.contrib.duck-streams.
>
> Apparently the zip file is getting corrupt because I was trying to treat
> the stream as a string.
>
> Is there any way