flutter_minizip_ffi_bindings library Null safety

Classes

DIR
dirent
Minizip
FFI bindings for zlib-ng/minizip-ng made using dart-lang/ffigen and trivial trick.
mz_stream_s
mz_stream_vtbl_s
/
mz_zip_file_s
/
tm

Constants

MZ_AES_BLOCK_SIZE → const int
16
MZ_AES_ENCRYPTION_MODE_128 → const int
1
MZ_AES_ENCRYPTION_MODE_192 → const int
2
MZ_AES_ENCRYPTION_MODE_256 → const int
3
10
MZ_AES_KEY_LENGTH_MAX → const int
32
MZ_AES_VERSION → const int
1
MZ_BUF_ERROR → const int
-5
MZ_CLOSE_ERROR → const int
-112
MZ_COMPRESS_LEVEL_BEST → const int
9
MZ_COMPRESS_LEVEL_DEFAULT → const int
-1
MZ_COMPRESS_LEVEL_FAST → const int
2
MZ_COMPRESS_LEVEL_NORMAL → const int
6
MZ_COMPRESS_METHOD_AES → const int
99
MZ_COMPRESS_METHOD_BZIP2 → const int
12
MZ_COMPRESS_METHOD_DEFLATE → const int
8
MZ_COMPRESS_METHOD_LZMA → const int
14
MZ_COMPRESS_METHOD_STORE → const int
0
MZ_COMPRESS_METHOD_XZ → const int
95
MZ_COMPRESS_METHOD_ZSTD → const int
93
MZ_CRC_ERROR → const int
-105
MZ_CRYPT_ERROR → const int
-106
MZ_DATA_ERROR → const int
-3
MZ_ENCODING_CODEPAGE_437 → const int
437
MZ_ENCODING_CODEPAGE_932 → const int
932
MZ_ENCODING_CODEPAGE_936 → const int
936
MZ_ENCODING_CODEPAGE_950 → const int
950
MZ_ENCODING_UTF8 → const int
65001
MZ_END_OF_LIST → const int
-100
MZ_END_OF_STREAM → const int
-101
MZ_EXIST_ERROR → const int
-107
MZ_FORMAT_ERROR → const int
-103
MZ_HASH_ERROR → const int
-110
MZ_HASH_MAX_SIZE → const int
256
MZ_HASH_MD5 → const int
10
MZ_HASH_MD5_SIZE → const int
16
MZ_HASH_SHA1 → const int
20
MZ_HASH_SHA1_SIZE → const int
20
MZ_HASH_SHA256 → const int
23
MZ_HASH_SHA256_SIZE → const int
32
MZ_HOST_SYSTEM_MSDOS → const int
0
MZ_HOST_SYSTEM_OSX_DARWIN → const int
19
MZ_HOST_SYSTEM_RISCOS → const int
13
MZ_HOST_SYSTEM_UNIX → const int
3
MZ_HOST_SYSTEM_WINDOWS_NTFS → const int
10
MZ_INTERNAL_ERROR → const int
-104
MZ_MEM_ERROR → const int
-4
MZ_OK → const int
0
MZ_OPEN_ERROR → const int
-111
MZ_OPEN_MODE_APPEND → const int
4
MZ_OPEN_MODE_CREATE → const int
8
MZ_OPEN_MODE_EXISTING → const int
16
MZ_OPEN_MODE_READ → const int
1
MZ_OPEN_MODE_READWRITE → const int
3
MZ_OPEN_MODE_WRITE → const int
2
MZ_PARAM_ERROR → const int
-102
MZ_PASSWORD_ERROR → const int
-108
MZ_PATH_SLASH_PLATFORM → const int
47
MZ_PATH_SLASH_UNIX → const int
47
MZ_PKCRYPT_HEADER_SIZE → const int
12
MZ_READ_ERROR → const int
-115
MZ_SEEK_CUR → const int
1
MZ_SEEK_END → const int
2
MZ_SEEK_ERROR → const int
-113
MZ_SEEK_SET → const int
0
MZ_SIGN_ERROR → const int
-117
MZ_STREAM_ERROR → const int
-1
MZ_STREAM_PROP_COMPRESS_LEVEL → const int
9
MZ_STREAM_PROP_COMPRESS_METHOD → const int
10
MZ_STREAM_PROP_COMPRESS_WINDOW → const int
11
MZ_STREAM_PROP_DISK_NUMBER → const int
8
MZ_STREAM_PROP_DISK_SIZE → const int
7
6
MZ_STREAM_PROP_HEADER_SIZE → const int
5
MZ_STREAM_PROP_TOTAL_IN → const int
1
MZ_STREAM_PROP_TOTAL_IN_MAX → const int
2
MZ_STREAM_PROP_TOTAL_OUT → const int
3
MZ_STREAM_PROP_TOTAL_OUT_MAX → const int
4
MZ_SUPPORT_ERROR → const int
-109
-118
MZ_TELL_ERROR → const int
-114
MZ_VERSION_BUILD → const int
12291
MZ_VERSION_ERROR → const int
-6
MZ_VERSION_MADEBY → const int
4909
MZ_VERSION_MADEBY_HOST_SYSTEM → const int
19
MZ_VERSION_MADEBY_ZIP_VERSION → const int
45
MZ_WRITE_ERROR → const int
-116
MZ_ZIP64_AUTO → const int
0
MZ_ZIP64_DISABLE → const int
2
MZ_ZIP64_FORCE → const int
1
MZ_ZIP_EXTENSION_AES → const int
39169
MZ_ZIP_EXTENSION_CDCD → const int
52685
MZ_ZIP_EXTENSION_HASH → const int
6737
MZ_ZIP_EXTENSION_NTFS → const int
10
MZ_ZIP_EXTENSION_SIGN → const int
4293
MZ_ZIP_EXTENSION_UNIX1 → const int
13
MZ_ZIP_EXTENSION_ZIP64 → const int
1
MZ_ZIP_FLAG_DATA_DESCRIPTOR → const int
8
MZ_ZIP_FLAG_DEFLATE_FAST → const int
4
MZ_ZIP_FLAG_DEFLATE_MAX → const int
2
MZ_ZIP_FLAG_DEFLATE_NORMAL → const int
0
MZ_ZIP_FLAG_DEFLATE_SUPER_FAST → const int
6
MZ_ZIP_FLAG_ENCRYPTED → const int
1
MZ_ZIP_FLAG_LZMA_EOS_MARKER → const int
2
MZ_ZIP_FLAG_MASK_LOCAL_INFO → const int
8192
MZ_ZIP_FLAG_UTF8 → const int
2048

Typedefs

mz_stream_close_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>)>>
mz_stream_create_cb = Pointer<NativeFunction<Pointer<Void> Function(Pointer<Pointer<Void>>)>>
mz_stream_destroy_cb = Pointer<NativeFunction<Void Function(Pointer<Pointer<Void>>)>>
mz_stream_error_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>)>>
mz_stream_get_prop_int64_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>, Int32, Pointer<Int64>)>>
mz_stream_is_open_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>)>>
mz_stream_open_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>, Pointer<Int8>, Int32)>>
/
mz_stream_read_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>, Pointer<Void>, Int32)>>
mz_stream_seek_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>, Int64, Int32)>>
mz_stream_set_prop_int64_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>, Int32, Int64)>>
mz_stream_tell_cb = Pointer<NativeFunction<Int64 Function(Pointer<Void>)>>
mz_stream_vtbl = mz_stream_vtbl_s
/
mz_stream_write_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>, Pointer<Void>, Int32)>>
mz_zip_file = mz_zip_file_s
/
mz_zip_locate_entry_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>, Pointer<Void>, Pointer<mz_zip_file>)>>
/
mz_zip_reader_entry_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>, Pointer<Void>, Pointer<mz_zip_file>, Pointer<Int8>)>>
mz_zip_reader_overwrite_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>, Pointer<Void>, Pointer<mz_zip_file>, Pointer<Int8>)>>
/
mz_zip_reader_password_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>, Pointer<Void>, Pointer<mz_zip_file>, Pointer<Int8>, Int32)>>
mz_zip_reader_progress_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>, Pointer<Void>, Pointer<mz_zip_file>, Int64)>>
mz_zip_writer_entry_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>, Pointer<Void>, Pointer<mz_zip_file>)>>
mz_zip_writer_overwrite_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>, Pointer<Void>, Pointer<Int8>)>>
/
mz_zip_writer_password_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>, Pointer<Void>, Pointer<mz_zip_file>, Pointer<Int8>, Int32)>>
mz_zip_writer_progress_cb = Pointer<NativeFunction<Int32 Function(Pointer<Void>, Pointer<Void>, Pointer<mz_zip_file>, Int64)>>
time_t = __darwin_time_t
wchar_t = __darwin_wchar_t