I would like to convert Base64 values ββsuch as "AAAAAAAAABI =" to the corresponding integer. I was bustling with Base64.decode64, but it was not obvious how this would be part of the solution.
irb > require 'base64' => true irb > Base64.decode64('AAAAAAAAABI=') => "\x00\x00\x00\x00\x00\x00\x00\x12"
source share