33件ヒット
[1-33件を表示]
(0.103秒)
検索結果
先頭3件
-
Base64
. # strict _ decode64(str) -> String (18401.0) -
与えられた文字列を Base64 デコードしたデータを返します。
...を返します。
このメソッドは 4648 に対応しています。
@param str Base64 デコードする文字列を指定します。
@raise ArgumentError 与えられた引数が Base64 エンコードされたデータとして正しい形式ではない場合に発生します。... -
Base64
. # decode64(str) -> String (18307.0) -
与えられた文字列を Base64 デコードしたデータを返します。
...文字列を指定します。
require 'base64'
str = 'VGhpcyBpcyBsaW5lIG9uZQpUaGlzIG' +
'lzIGxpbmUgdHdvClRoaXMgaXMgbGlu' +
'ZSB0aHJlZQpBbmQgc28gb24uLi4K'
puts Base64.decode64(str)
# This is line one
# This is line two
# This is line three
# And so on...... -
Base64
. # urlsafe _ decode64(str) -> String (6301.0) -
与えられた文字列を Base64 デコードしたデータを返します。
...す。
このメソッドは 4648 の "Base 64 Encoding with URL and Filename Safe Alphabet" に対応しています。
"+" を "-" に "/" を "_" に置き換えます。
@param str Base64 デコードする文字列を指定します。
@raise ArgumentError 与えられた引数が Base64 エ...