Java tutorial
//package com.java2s; public class Main { public static byte[] Clear(byte[] ss) throws Exception { try { for (int m = 0; m < ss.length; m++) { ss[m] = new Integer(0).byteValue(); } return ss; } catch (Exception e) { throw new Exception(e); } } }