Android examples for File Input Output:Byte Array
byte Array element Replace
//package com.java2s; public class Main { public static byte[] byteArrayReplace(byte[] a, byte[] b, int start, int len) { for (int i = start, j = 0; j < len; i++, j++) { a[i] = b[j];/*from w w w. j ava 2s .co m*/ } return a; } }