NativeZipBindings class

Bindings for src/native_zip.h.

Regenerate bindings with dart run ffigen --config ffigen.yaml.

Constructors

NativeZipBindings.new(DynamicLibrary dynamicLibrary)
The symbols are looked up in dynamicLibrary.
NativeZipBindings.fromLookup(Pointer<T> lookup<T extends NativeType>(String symbolName))
The symbols are looked up with lookup.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

closeUnzipStream(Pointer<Void> pStream) → void
closeZip(Pointer<Void> zip) int
closeZipStream(Pointer<Void> pStream) → void
discardZip(Pointer<Void> zip) → void
getDartMessage() Pointer<NativeNotifyMessage>
getZipEntries(Pointer<Void> zip, Pointer<Int> outCount, Pointer<Char> path, int isRecursive) Pointer<NativeZipEntry>
nativeFree(Pointer<Void> p) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openUnzipStream(int windowBits) Pointer<Void>
openZip(Pointer<Char> filename, Pointer<Char> password) Pointer<Void>
openZipStream(int windowBits, int compressLevel) Pointer<Void>
readZipFileEntry(Pointer<Void> zipEntryFile, Pointer<Int8> buf, int len) int
readZipFileEntryClose(Pointer<Void> zipEntryFile) int
readZipFileEntryOpen(Pointer<Void> zip, Pointer<Char> entryPath) Pointer<Void>
readZipFileEntryOpenByIndex(Pointer<Void> zip, int index) Pointer<Void>
toString() String
A string representation of this object.
inherited
unzipToDirAsync(Pointer<Void> _zip, Pointer<Char> password, Pointer<Char> zipFilePath, Pointer<Pointer<Char>> entryPathsArr, int entriesCount, Pointer<Char> toDirPath, int threadCount) Pointer<Void>
writeZipStream(Pointer<Void> pStream, int isZipping, Pointer<Int8> inBuf, int inBufSize, Pointer<Int8> outBuf, int outBufSize, int isEOF) int
writeZipStream_readNext(Pointer<Void> _pStream, int isZipping, Pointer<Int8> outBuf, int outBufSize, int isEOF) int
zipDirAsync(Pointer<Void> _zip, bool hasPassword, Pointer<Pointer<Char>> dirPathList, int dirPathListCount, Pointer<Char> entryDirPathBase, int compressLevel, int skipTopLevel, int threadCount) Pointer<Void>
zipMoveEntriesAsync(Pointer<Void> _zip, Pointer<Pointer<Char>> entryPaths, int entriesCount, Pointer<Char> newEntryBasePath) int
zipRemoveEntriesAsync(Pointer<Void> _zip, Pointer<Pointer<Char>> entryPaths, int entriesCount) int
zipRenameEntryAsync(Pointer<Void> _zip, Pointer<Char> entryPath, Pointer<Char> newEntryPath) int

Operators

operator ==(Object other) bool
The equality operator.
inherited