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< entryPathsArr, int entriesCount, Pointer<Char> >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< dirPathList, int dirPathListCount, Pointer<Char> >Char> entryDirPathBase, int compressLevel, int skipTopLevel, int threadCount) → Pointer<Void> -
zipMoveEntriesAsync(
Pointer< Void> _zip, Pointer<Pointer< entryPaths, int entriesCount, Pointer<Char> >Char> newEntryBasePath) → int -
zipRemoveEntriesAsync(
Pointer< Void> _zip, Pointer<Pointer< entryPaths, int entriesCount) → intChar> > -
zipRenameEntryAsync(
Pointer< Void> _zip, Pointer<Char> entryPath, Pointer<Char> newEntryPath) → int
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited