Re: [ANN] Buffy, The Byte Buffer Slayer 1.0.0-beta1

2014-01-29 Thread Steffen
Hi, sorry for hijacking this thread, but you might want to have a look at the binary parser combinator library we released today. The announcement is https://groups.google.com/d/msg/clojure/2c9-oXfKlp0/yGyeD7iWEnQJ If you define a codec just for the header of your data you can read only the

Re: [ANN] Buffy, The Byte Buffer Slayer 1.0.0-beta1

2014-01-28 Thread Michael Gardner
I'm looking to deal with a stream of data that includes a structured, variable-length header followed by a (potentially large) binary blob. I'd like to parse only the header while leaving the stream (can be a java stream or NIO channel, whichever works best) positioned at the start of the

[ANN] Buffy, The Byte Buffer Slayer 1.0.0-beta1

2013-12-17 Thread Alex P
Buffy [1][2] 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`. After the initial project announcement, we've