GoLang xdiff_string_bpatch

request it (416)
GoLang replacement for PHP's xdiff_string_bpatch [edit | history]



Do you know a GoLang replacement for PHP's xdiff_string_bpatch? Write it!

PHP xdiff_string_bpatch

PHP original manual for xdiff_string_bpatch [ show | php.net ]

xdiff_string_bpatch

(PECL xdiff >= 1.5.0)

xdiff_string_bpatchPatch a string with a binary diff

Description

string xdiff_string_bpatch ( string $str , string $patch )

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

str

The original binary string.

patch

The binary patch string.

Return Values

Returns the patched string, or FALSE on error.

See Also