xdiff_string_bpatch
(PECL xdiff >= 1.5.0)
xdiff_string_bpatch — Patch a string with a binary diff
Description
Patches a string str with a binary patch. This function accepts patches created both via xdiff_string_bdiff() and xdiff_string_rabdiff() functions or their file counterparts.
Parameters
strThe original binary string.
patchThe binary patch string.
Return Values
Returns the patched string, or false on error.
See Also
- xdiff_string_bdiff() - Make binary diff of two strings
- xdiff_string_rabdiff() - Make a binary diff of two strings using the Rabin's polynomial fingerprinting algorithm
↑ and ↓ to navigate • Enter to select • Esc to close • / to open