public static byte[] readBytes(java.io.InputStream in)
throws java.io.IOException
Read all bytes from the input stream. Note that using this method to
read very large streams could cause out-of-memory exceptions and/or block
for large periods of time.