Code example for Parcel

Methods: readInt, readLong

0
        int active = 0; 
        int limit = 0; 
        int charge = 0; 
        int unknown = 0; 
 
        company = source.readInt(); 
        expdate = source.readInt(); 
        birthdate = new Date(source.readLong()); 
        active = source.readInt(); 
        limit = source.readInt(); 
        charge = source.readInt(); 
        unknown = source.readInt(); 
 
        return new OVChipInfo(company, expdate, birthdate, 
                    active, limit, charge, unknown); 
        } 
 
        public OVChipInfo[] newArray (int size) { 
            return new OVChipInfo[size]; 
        } 
    };