Here you can find the source of zeroInterval(byte[] x, int start, int end)
static byte[] zeroInterval(byte[] x, int start, int end)
//package com.java2s; //License from project: Open Source License public class Main { static byte[] zeroInterval(byte[] x, int start, int end) { final byte[] result = x.clone(); for (int i = start; i < end; i++) result[i] = (byte) 0; return result; }/*from www . jav a 2 s.c o m*/ }