Code example for Parcel

Methods: readBytereadIntreadString

0
        } 
 
    } 
     
    private SiteInfo(Parcel in) { 
        this.sitename = in.readString();
        this.username = in.readString();
        this.firstname = in.readString();
        this.lastname = in.readString();
        this.fullname = in.readString();
        this.userid = in.readInt();
        this.siteurl = in.readString();
        this.userpictureurl = in.readString();
        this.downloadfiles = in.readByte() == 1;
 
        int count = in.readInt();
        for (int i = 0; i < count; i++) {
        	this.addFunction(in.readString(), in.readString());
        } 
 
    }   
} 
5
CodeRank