Bit-struct gem

Bit-struct is now a gem. It’s for accessing binary data in strings.

Thanks to several folks on this list, particularly Markus F., for
suggesting features.

Examples and docs at: http://bit-struct.rubyforge.org/

Hi –

On Thu, 16 Jul 2009, Joel VanderWerf wrote:

Bit-struct is now a gem. It’s for accessing binary data in strings.

Thanks to several folks on this list, particularly Markus F., for
suggesting features.

Examples and docs at: http://bit-struct.rubyforge.org/

Cool. I have a lambda in my (slightly languishing) DVI-file parsing
library with the comment:

Most of this proc is by Joel VanderWerf.

above it – a slightly mutated version of something from Bit-struct
:slight_smile: I can’t remember why I didn’t just use the Bit-struct version
directly, but there was something I needed to tweak. If I ever get
back to that project I’ll try to integrate more gracefully or at least
mention the gem.

David

David A. Black wrote:

Examples and docs at: http://bit-struct.rubyforge.org/
mention the gem.
Thanks! Drop me an email if the tweak looks like something that should
go in the library.

On Jul 15, 2009, at 4:59 PM, Joel VanderWerf wrote:

Bit-struct is now a gem. It’s for accessing binary data in strings.

Thanks to several folks on this list, particularly Markus F.,
for suggesting features.

Thank you so much for this library – I use the hell out of it, and
now that it’s a gem it’s one less special-case in my install_deps rake
task!