docs: public static byte[] readBytes(@Nonnull final InputStream pInputStream)
          throws IOException
      {
          ByteArrayOutputStream baos = null;
          BufferedInputStream bis = null;
          try {
              baos = new ByteArrayOutputStream(IO_BUFFER_SIZE_BYTES);
              bis = new BufferedInputStream(pInputStream, IO_BUFFER_SIZE_BYTES);
              byte[] buffer = new byte[IO_BUFFER_SIZE_BYTES];
              for (int bytesRead = bis.read(buffer); bytesRead > 0; bytesRead = bis.read(buffer)) {
                  baos.write(buffer, 0, bytesRead);
              }
          }
          finally {
              closeQuietly(bis);
              closeQuietly(baos);
          }
  
          return baos.toByteArray();
      }