code: @Nullable
    public static byte[] toByteArray(@Nonnull final ZipFile zipFile, @Nonnull final String path) throws IOException {
      final InputStream in = findInputStreamForResource(zipFile, path);
  
      byte[] result = null;
  
      if (in != null) {
        try {
          result = IOUtils.toByteArray(in);
        } finally {
          IOUtils.closeQuietly(in);
        }
      }
  
      return result;
    }
docs: Read who;e zip item into byte array.
  
  @param zipFile zip file
  @param path path to resource
  @return byte array or null if not found
  @throws IOException thrown if there is any transport error