RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

Portable Ruby Bit-Twiddling with #unpack()

Ruby code using strings to work with byte arrays may need to be updated in order to work with Ruby 1.9. Here's a way to do it that retains compatibility with Ruby 1.8.

Comments

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!