bytesToParcelable

public static T bytesToParcelable<T extends Parcelable>(Array<byte> data, Class<T> cls)

Read and return a new Parcelable from the parcel.

Return

Returns the newly created Parcelable, or null if a null object has been written.

Parameters

data

byte array

cls

Class