clear Byte Array - Android File Input Output

Android examples for File Input Output:Byte Array

Description

clear Byte Array

Demo Code


//package com.java2s;

public class Main {
    public static void clearByteArray(byte[] bytes) {
        for (int i = 0; i < bytes.length; i++) {
            bytes[i] = 0;//from  w  w w.  j ava2s .c o m
        }
    }
}

Related Tutorials