However, generally you'd encode binary data from files or other sources: require 'base64' puts Base64.encode64(File.read('/bin/bash')) ...
確定! 回上一頁