Android examples for File Input Output:Byte Array
unmarshall byte array with Parcel
//package com.java2s; import android.os.Parcel; public class Main { private static Parcel unmarshall(byte[] bytes) { Parcel parcel = Parcel.obtain(); parcel.unmarshall(bytes, 0, bytes.length); parcel.setDataPosition(0);//from w ww .jav a 2s . c om return parcel; } }