mz_zip_reader_extract_to_heap function

  1. @Native<Pointer<Void> Function(Pointer<mz_zip_archive>, mz_uint, Pointer<Size>, mz_uint)>(ffi.Pointer<mz_zip_archive>, mz_uint, ffi.Pointer<ffi.Size>, mz_uint)>()
Pointer<Void> mz_zip_reader_extract_to_heap(
  1. Pointer<mz_zip_archive> pZip,
  2. int file_index,
  3. Pointer<Size> pSize,
  4. int flags$1,
)

Extracts a archive file to a dynamically allocated heap buffer. / / The memory will be allocated via the mz_zip_archive's alloc/realloc functions. / / Returns NULL and sets the last error on failure.

Implementation

@ffi.Native<
  ffi.Pointer<ffi.Void> Function(
    ffi.Pointer<mz_zip_archive>,
    mz_uint,
    ffi.Pointer<ffi.Size>,
    mz_uint,
  )
>()
external ffi.Pointer<ffi.Void> mz_zip_reader_extract_to_heap(
  ffi.Pointer<mz_zip_archive> pZip,
  int file_index,
  ffi.Pointer<ffi.Size> pSize,
  int flags$1,
);