Well, network packets would also be a good use of what I was looking
for and it looks *very* much like something useful for what I want.
I'll clone it and try it in the next few days.  My intention is to use
it for some low-level structures inside virtual disk files...

I haven't done anything with clojars either.

On Apr 18, 9:17 am, Geoff <[email protected]> wrote:
> I've implemented something similar for working with
> java.nio.ByteBuffer objects to pull apart and build network packets,
> but it's not packaged as a separate library right now. Look 
> athttp://github.com/geoffsalmon/bonjure/blob/master/src/bonjure/bytebuf...
> specifically the pack, unpack, pack-bits, unpack-bits functions. Does
> that do what you need? There's examples in the 
> testshttp://github.com/geoffsalmon/bonjure/blob/master/test/bonjure/bytebu...
> I've only used it for one particular task, but I'd like to separate it
> and push it to clojars. It's about time I learn how to do that.
>
> - Geoff
>
> On Apr 16, 9:28 pm, Scott T <[email protected]> wrote:
>
>
>
> > Does anyone know of a clojure library for handling (un)packing of
> > binary structures?  I'm looking for something similar to perl/ruby/
> > python's pack(...) function or something like OCaml's bitstring
> > module.  My initial google and clojure-contrib perusing hasn't turned
> > up anything obvious though I've found at least one interesting blog
> > post on a related subject.
>
> > If there is such a thing in existence I'd like to know about it
> > otherwise I'll probably want to create it - to scratch my own itch -
> > and maybe someone else will have an interest in such a thing.
>
> > -stt
>
> > --
> > 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 
> > athttp://groups.google.com/group/clojure?hl=en
>
> --
> 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 
> athttp://groups.google.com/group/clojure?hl=en

-- 
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

Reply via email to