module NewRelic::Base64
Public Instance Methods
Source
# File lib/new_relic/base64.rb, line 13 def decode64(str) str.unpack1('m') end
Source
# File lib/new_relic/base64.rb, line 21 def strict_decode64(str) str.unpack1('m0') end
Source
# File lib/new_relic/base64.rb, line 17 def strict_encode64(bin) [bin].pack('m0') end