On Mon, Jun 22, 2015 at 11:10:04AM +0100, Charles Forsyth wrote:
> On 22 June 2015 at 10:05, Oleg <[email protected]> wrote:
> 
> > May be a stupid question. enc64() returns a null terminated string. But
> > dec64()
> > not doing the same. What is the reason for it?
> >
> 
> enc: binary -> string
> dec: string -> binary
> 
> binary is just an array of bytes, and there isn't a special terminating
> value

You're right. I use base64 to mask a white space symbols in strings and i
completely forgot about the main base64 purpose :-).

Thank you!

-- 
Неманов Олег (Nemanov Oleg)

Reply via email to