RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

hexutils gem - Hex Encode / Decode Helpers; From Hex String to Bin(ary) String & Back

Hello, a new addition in the ongoing If I Were ~~King~~ Matz (aka Yukihiro Matsumoto) - Ideas For Ruby 4.0 - What’s Broken & Missing in Ruby 3.x and How To Fix It series I published a first version of the hexutils gem that adds the missing hex(adecimal) encode / decode helpers to String, NilClass, Kernel & Co. that get you from hex(adecimal) string to bin(ary) string and back. Happy wrangling with bits & bytes in ruby. Cheers. Prost. As always questions and comments welcome.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in