@Deprecated
    public static byte[] toByteArray(String input) throws IOException {
        return input.getBytes();
    }
Get the contents of a <code>String</code> as a <code>byte[]</code>
using the default character encoding of the platform.
<p>
This is the same as {@link String#getBytes()}.

@param input the <code>String</code> to convert
@return the requested byte array
@throws NullPointerException if the input is null
@throws IOException          if an I/O error occurs (never occurs)
@deprecated Use {@link String#getBytes()}
pay-java-common/src/main/java/com/egzosn/pay/common/util/IOUtils.java