/** * Obtains the contents of the specified stream as a byte array * * @param in * @throws IllegalArgumentException * If the stream was not specified * @return the byte[] for the given InputStream */ public static byte[] asByteArray(final InputStream in) throws IllegalArgumentException { return IOUtilDelegator.asByteArray(in); }
/** * Obtains the contents of the specified stream as a byte array * * @param in * @throws IllegalArgumentException * If the stream was not specified * @return the byte[] for the given InputStream */ public static byte[] asByteArray(final InputStream in) throws IllegalArgumentException { return IOUtilDelegator.asByteArray(in); }
/** * Obtains the contents of the specified stream * as a byte array * * @param in * @throws IllegalArgumentException If the stream was not specified * @return the byte[] for the given InputStream */ public static byte[] asByteArray(final InputStream in) throws IllegalArgumentException { return IOUtilDelegator.asByteArray(in); }