@Override
  public byte[] decode(String s) throws CannotDecodeException
  {
    if(s == null || s.length() <= 0)
    {
      throw new CannotDecodeException("Cannot decode null or empty String");
    }
    else
    {
      return new BigInteger(s, 16).toByteArray();
    }
  }
@Override
  public byte[] decode(String s) throws CannotDecodeException
  {
    if(s == null || s.length() <= 0)
    {
      throw new CannotDecodeException("Cannot decode null or empty String");
    }
    else
    {
      return new BigInteger(s, 16).toByteArray();
    }
  }
@ Override public byte [ ] decode ( String s ) throws CannotDecodeException { if ( s == null || s . length ( ) <= 0 ) { throw new CannotDecodeException ( "Cannot decode null or empty String" ) ; } else { return new BigInteger ( s , 16 ) . toByteArray ( ) ; } }
Decodes the <code>String</code> into a byte array

@param s the string to decode
@return the byte array decoded
@throws CannotDecodeException if the string has not been encoded with this codec
Decodes the <code > String< / code > into a byte array