Hello Clojure community,
there are already two excellent libraries for reading/writing/manipulating
binary data: Zach's Lamina and Clojurewerkz' Buffy for java's ByteBuffers.
I would like to offer another library for java's Input/OutputStreams. It is
inspired by Lamina but not compatible in syntax, I'm sorry.
The focus is on
- read/write performance,
- no external dependencies
- works with java.util.*Stream
If you use Leiningen please add the following to your dependencies:
[org.clojars.smee/binary "0.2.4"]
The link to the source code and README is https://github.com/smee/binary.
Democode to parse Bitcoin blocks (including scripts):
https://github.com/smee/binary/blob/master/src/org/clojars/smee/binary/demo/bitcoin.clj
Democode for MP3 ID3v2 tags (work in progress):
https://github.com/smee/binary/blob/master/src/org/clojars/smee/binary/demo/mp3.clj
Apart from the README, doc strings there is no further documentation, yet.
Please refer to the demos and the unit tests for now.
Thanks,
Steffen Dienst
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.