I've added 32-bits based bit type to Buffy:
https://github.com/clojurewerkz/buffy#bit-type

Does it suit your needs? If not, what length of bits do you require?


On Wed, Dec 4, 2013 at 3:58 PM, Rob Day <robert....@merton.oxon.org> wrote:

> On 29 November 2013 22:15, Alex P <oleksandr.pet...@gmail.com> wrote:
> > Buffy [1] is a Clojure library to work with Binary Data, write complete
> > binary protocol implementations
> > in clojure, store your complex data structures in an off-heap chache,
> read
> > binary files and do
> > everything you would usually do `ByteBuffer`.
>
> Is there any plan to support bit-fields? My main interest at present
> is the Diameter protocol, where some individual bits in the header are
> true/false flags - Gloss decodes that nicely into a sequence of bools,
> but I can't see similar support in Buffy.
>
> --
> --
> 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
> ---
> 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 clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
alex p

-- 
-- 
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
--- 
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 clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to