detectFormat static method
- Uint8List patch
Detects the format of a patch file.
patch
is the patch data.
Returns the detected patch format.
Throws PatchException if the format cannot be detected.
Implementation
static PatchFormat detectFormat(Uint8List patch) {
return detectPatchFormat(patch);
}