public static final byte[] decode(String encoded) throws Base64DecodingException {
  if (encoded == null) {
    return null;
  }
  byte[] bytes=new byte[encoded.length()];
  int len=getBytesInternal(encoded,bytes);
  return decodeInternal(bytes,len);
}

public static final byte [ ] decode ( String encoded ) throws Base64DecodingException { if ( encoded == null ) { return null ; } byte [ ] bytes = new byte [ encoded . length ( ) ] ; int len = getBytesInternal ( encoded , bytes ) ; return decodeInternal ( bytes , len ) ; }
decodes base64 data into octets
