Parent Previous Next


Merges all blobs of a blob array into one long blob. The bytes of each blob are mixed with bytes from the other blobs. If the merge can't be done it returns the empty blob. This function is the opposite of a @BinaryExtract.


 @BinaryMerge(Blob[] blobs) : Blob



Warning: If the participating blobs in the array do not originate from the @BinaryExtract function, you must be extra cautious about the length of each blob:

If these rules are not followed, the merge will fail and return an empty blob.


 Blob res, arr[] := [0x00030609, 0x0104070A, 0x020508];

 res := @BinaryMerge(arr[]);

 //Now res == 0x000102030405060708090A;