001    package com.skype.util;
002    
003    
004    public abstract class Base64
005    {
006    
007        public static String encode(byte abyte0[])
008        {
009            if(abyte0 == null)
010                return null;
011            else
012                return inst.encode(abyte0, null, 0).toString();
013        }
014    
015        public static byte[] decode(String s)
016        {
017            if(s == null)
018                return null;
019            else
020                return inst.decode(s);
021        }
022    
023        private Base64()
024        {
025        }
026    
027        private static BaseX inst = new BaseX("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", true, '=');
028    }