From: Matthew Kerwin Date: 2013-03-08T05:53:13+09:00 Subject: Re: Ruby's standard module "Base64" --bcaec554d43450a59004d75be4c7 Content-Type: text/plain; charset=ISO-8859-1 I would suggest "creating" as it were your own examples using irb. I'd start by encoding a string, then decoding that result, eg. 001> x = strict_encode64('hello') 002> strict_decode64(x) etc. Sent from my phone, so excuse the typos. On Mar 8, 2013 6:45 AM, "Pritam Dey" wrote: > Hi All, > > Could anyone help me here to understand when we need to consider the > below 4 methods: > > strict_decode64(str) > strict_encode64(bin) > urlsafe_encode64(bin) > urlsafe_decode64(str) > > From the doc also I didn't get any examples. So examples with > explanation might be helpful for me to understand. > > > Thanks in advance > > -- > Posted via http://www.ruby-forum.com/. > > --bcaec554d43450a59004d75be4c7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

I would suggest "creating" as it were your own examples using = irb.

I'd start by encoding a string, then decoding that result, eg.

001> x =3D strict_encode64('hello')
002> strict_decode64(x)
etc.

Sent from my phone, so excuse the typos.

On Mar 8, 2013 6:45 AM, "Pritam Dey" &= lt;lists@ruby-forum.com> wro= te:
Hi All,

Could anyone help me here to understand when we need to consider the
below 4 methods:

strict_decode64(str)
strict_encode64(bin)
urlsafe_encode64(bin)
urlsafe_decode64(str)

From the doc also I didn't get any examples. So examples with
explanation might be helpful for me to understand.


Thanks in advance

--
Posted via http://= www.ruby-forum.com/.

--bcaec554d43450a59004d75be4c7--