public static byte[] decodeFromString(String src){
  if (src == null) {
    return null;
  }
  if (src.length() == 0) {
    return new byte[0];
  }
  byte[] result;
  try {
    result=delegate.decode(src.getBytes(DEFAULT_CHARSET.displayName()));
  }
 catch (  UnsupportedEncodingException e) {
    throw new IllegalStateException(e);
  }
  return result;
}

public static byte [ ] decodeFromString ( String src ) { if ( src == null ) { return null ; } if ( src . length ( ) == 0 ) { return new byte [ 0 ] ; } byte [ ] result ; try { result = delegate . decode ( src . getBytes ( DEFAULT_CHARSET . displayName ( ) ) ) ; } catch ( UnsupportedEncodingException e ) { throw new IllegalStateException ( e ) ; } return result ; }
base64 - decode the given byte array from an utf - 8 string .
