The BIT_XOR function performs the bitwise logical Exclusive Or (XOR) operation on values in RAW r1 and RAW r2 and returns the result RAW of the XOR operation.
Syntax
UTL_RAW.BIT_XOR (
r1 IN RAW,
r2 IN RAW)
RETURN RAW;
Parameters
| Parameter | Description |
|---|---|
| r1 | The RAW value for performing the XOR operation with r2. |
| r2 | The RAW value for performing the XOR operation with r1. |
Return values
| Return value | Description |
|---|---|
| RAW | This value contains the result of the XOR operation between r1 and r2. |
Usage notes
If r1 and r2 are different in length, the XOR operation ends at the last byte of the shorter RAW, and appends the unprocessed part of the longer RAW to the partial result. The length of the result is equal to that of the longer input RAW.