instance method
_parse_binary
Ruby on Rails 7.0.10
Since v5.2.8.1 PrivateSignature
_parse_binary(bin, entity)
TODO: Add support for other encodings
Parameters
-
binreq -
entityreq
Source
# File activesupport/lib/active_support/xml_mini.rb, line 166
def _parse_binary(bin, entity)
case entity["encoding"]
when "base64"
::Base64.decode64(bin)
else
bin
end
end
Defined in activesupport/lib/active_support/xml_mini.rb line 166
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::XmlMini