Java xor xor(byte[] aBuffer, int aOffset, int aLength, byte[] aMask, int aMaskOffset)

Here you can find the source of xor(byte[] aBuffer, int aOffset, int aLength, byte[] aMask, int aMaskOffset)

Description

xor

License

Open Source License

Declaration

public static void xor(byte[] aBuffer, int aOffset, int aLength, byte[] aMask, int aMaskOffset) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static void xor(byte[] aBuffer, int aOffset, int aLength, byte[] aMask, int aMaskOffset) {
        for (int i = 0; i < aLength; i++) {
            aBuffer[aOffset + i] ^= aMask[aMaskOffset + i];
        }/*from ww w .  jav a 2s  .  co m*/
    }
}

Related

  1. xor(byte[] a, byte[] b)
  2. xor(byte[] a, byte[] b)
  3. xor(byte[] a, byte[] b)
  4. xor(byte[] a, byte[] b)
  5. xor(byte[] a, int offsetA, byte[] b, int offsetB, byte[] dst, int dstOffset, int length)
  6. XOR(byte[] array1, byte[] array2)
  7. xor(byte[] array1, byte[] array2)
  8. xor(byte[] b1, byte[] b2)
  9. xor(byte[] b1, byte[] b2)