[ANN] bit-struct gem

D

David A. Black

Hi --

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

Thanks to several folks on this list, particularly Markus Fischer, 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
:) 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 / Ruby Power and Light, LLC
Ruby/Rails consulting & training: http://www.rubypal.com
Now available: The Well-Grounded Rubyist (http://manning.com/black2)
Training! Intro to Ruby, with Black & Kastner, September 14-17
(More info: http://rubyurl.com/vmzN)
 
J

Joel VanderWerf

David said:
Hi --



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
:) 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.

Thanks! Drop me an email if the tweak looks like something that should
go in the library.
 
M

Michael Granger

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

Thanks to several folks on this list, particularly Markus Fischer,
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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,171
Messages
2,570,935
Members
47,472
Latest member
KarissaBor

Latest Threads

Top