Hi, On Fri, Apr 30, 2010 at 10:30, Matt Culbreth <mattculbr...@gmail.com> wrote: > I'm using slurp to read data from a file and send it to a stream, but > sometimes that's failing. I've got a theory that it has to do with > slurp not reading binary data correctly. Is that true? Do I need to > go down to the lower level Java classes and build a byte array using > InputFileStream and .read()?
That's what I did for a small project. I did actually find c.c.io.to-byte-array[1] useful. HTH, Mike [1] http://github.com/richhickey/clojure-contrib/blob/master/src/main/clojure/clojure/contrib/io.clj#L465 -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en