FlutterBspatchBindings class

Bindings for src/flutter_bspatch.h.

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

Constructors

FlutterBspatchBindings(DynamicLibrary dynamicLibrary)
The symbols are looked up in dynamicLibrary.
FlutterBspatchBindings.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

bspatch_apply(Pointer<Char> old_file, Pointer<Char> patch_file, Pointer<Char> new_file) int
应用 bspatch 补丁(文件路径方式)
bspatch_apply_bytes(Pointer<Uint8> old_data, int old_size, Pointer<Uint8> patch_data, int patch_size, Pointer<Uint8> new_data, Pointer<Int64> new_size) int
应用 bspatch 补丁(内存方式)
bspatch_error_string(int error_code) Pointer<Char>
获取错误描述
bspatch_new_size(Pointer<Uint8> patch_data, int patch_size) int
从补丁文件获取新文件大小
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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