/// <summary>
 /// Parses a zip input stream into a Lottie composition.
 /// Your zip file should just be a folder with your json file and images zipped together.
 /// It will automatically store and configure any images inside the animation if they exist.
 /// </summary>
 /// <param name="device"></param>
 /// <param name="inputStream"></param>
 /// <param name="cacheKey"></param>
 /// <returns></returns>
 public static LottieResult <LottieComposition> FromZipStreamSync(RenderTarget renderTarget, Ionic.Zip.ZipFile inputStream, string cacheKey)
 {
     try
     {
         return(FromZipStreamSyncInternal(renderTarget, inputStream, cacheKey));
     }
     finally
     {
         inputStream.CloseQuietly();
     }
 }