mz_zip_reader_init_cfile function

  1. @Native<mz_bool Function(Pointer<mz_zip_archive>, Pointer<FILE>, mz_uint64, mz_uint)>(ffi.Pointer<mz_zip_archive>, ffi.Pointer<FILE>, mz_uint64, mz_uint)>()
int mz_zip_reader_init_cfile(
  1. Pointer<mz_zip_archive> pZip,
  2. Pointer<FILE> pFile,
  3. int archive_size,
  4. int flags$1,
)

Read an archive from an already opened FILE, beginning at the current file position. / / The archive is assumed to be archive_size bytes long. If archive_size is 0, then the entire rest of the file is assumed to contain the archive. / / The FILE will NOT be closed when mz_zip_reader_end() is called.

Implementation

@ffi.Native<
  mz_bool Function(
    ffi.Pointer<mz_zip_archive>,
    ffi.Pointer<FILE>,
    mz_uint64,
    mz_uint,
  )
>()
external int mz_zip_reader_init_cfile(
  ffi.Pointer<mz_zip_archive> pZip,
  ffi.Pointer<FILE> pFile,
  int archive_size,
  int flags$1,
);