Blob.InnerXor

Parent Previous Next

Blob.InnerXor.

All the bytes in the blob participate in an internal Xor operation with each other and return a single byte as the result.


Syntax.


 InnerXor() : Byte

 


Example:


 Byte b := (0x01030507).InnerXor(); //Now b == 0x00;


 //Calculation:

 //0x01 ~ 0000 0001

 //0x03 ~ 0000 0011

 //0x05 ~ 0000 0101

 //0x07 ~ 0000 0111

 //---------------- Xor

 //0x00 ~ 0000 0000

 //================