What is base64.rb for? (from /usr/lib/ruby/1.6/base64.rb)

I note that it has a vestigial rfc2047 decoder for japanese (only!)
character sets in it, as well as a few utility functions, and its
still there in 1.8.

Sam