Static Public Member Functions | |
static byte[] | getFileByteContent (File file) throws IOException |
Returns the contents of the given file as a byte array. | |
Static Protected Member Functions | |
static byte[] | getInputStreamAsByteArray (InputStream stream, int length) throws IOException |
Returns the given input stream's contents as a byte array. |