Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static void xorArray(byte[] array, byte[] mask) {
        final int len = Math.min(array.length, mask.length);
        for (int i = 0; i < len; ++i) {
            array[i] ^= mask[i];
        }
    }
}