PatchUtils class
Utility functions for working with patch files.
Constructors
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
-
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
Static Methods
-
detectFormat(
Uint8List patch) → PatchFormat - Detects the format of a patch file.
-
getMinimumSize(
PatchFormat format) → int - Gets the minimum size required for a valid patch file of the specified format.
-
validateHeader(
Uint8List patch, PatchFormat format) → bool - Validates that a patch file has a valid header for the specified format.