private void readFromParcel(Parcel in) { timeStamp = in.readLong(); frameSize = in.readInt(); frameBytesData = new byte[frameSize]; in.readByteArray(frameBytesData); cachePath = in.readString(); }
private PaymentIntent(final Parcel in) { standard = (Standard) in.readSerializable(); payeeName = in.readString(); payeeVerifiedBy = in.readString(); final int outputsLength = in.readInt(); if (outputsLength > 0) { outputs = new Output[outputsLength]; in.readTypedArray(outputs, Output.CREATOR); } else { outputs = null; } memo = in.readString(); paymentUrl = in.readString(); final int payeeDataLength = in.readInt(); if (payeeDataLength > 0) { payeeData = new byte[payeeDataLength]; in.readByteArray(payeeData); } else { payeeData = null; } paymentRequestUrl = in.readString(); }
/** {@hide} */ public void readFromParcel(Parcel in) { mUsername = in.readString(); mEncryptedPassword = in.readString(); mPassword = in.readString(); mService = in.readString(); mCaptchaToken = in.readString(); int len = in.readInt(); if (len == -1) { mCaptchaData = null; } else { mCaptchaData = new byte[len]; in.readByteArray(mCaptchaData); } mCaptchaMimeType = in.readString(); mCaptchaAnswer = in.readString(); mFlags = in.readInt(); String status = in.readString(); if (status == null) { mStatus = null; } else { mStatus = Status.valueOf(status); } mJsonString = in.readString(); mSid = in.readString(); mAuthtoken = in.readString(); }
@SuppressWarnings("unchecked") protected NetworkResponse(Parcel in) { statusCode = in.readInt(); headers = (HashMap<String, String>) in.readSerializable(); response = in.readString(); in.readByteArray(rawResponse); }
private Output(final Parcel in) { amount = (BigInteger) in.readSerializable(); final int programLength = in.readInt(); final byte[] program = new byte[programLength]; in.readByteArray(program); script = new Script(program); }
private AddressAndLabel(final Parcel in) { final NetworkParameters addressParameters = (NetworkParameters) in.readSerializable(); final byte[] addressHash = new byte[Address.LENGTH]; in.readByteArray(addressHash); address = new Address(addressParameters, addressHash); label = in.readString(); }
public WifiSsid createFromParcel(Parcel in) { WifiSsid ssid = new WifiSsid(); int length = in.readInt(); byte b[] = new byte[length]; in.readByteArray(b); ssid.octets.write(b, 0, length); return ssid; }
private NSArrayWrapper(Parcel in) { try { int size = in.readInt(); byte[] data = new byte[size]; in.readByteArray(data); array = (NSArray) BinaryPropertyListParser.parse(data); } catch (Exception e) { e.printStackTrace(); } }
public DesfireCard createFromParcel(Parcel source) { int tagIdLength = source.readInt(); byte[] tagId = new byte[tagIdLength]; source.readByteArray(tagId); Date scannedAt = new Date(source.readLong()); DesfireManufacturingData manfData = source.readParcelable(DesfireManufacturingData.class.getClassLoader()); DesfireApplication[] apps = new DesfireApplication[source.readInt()]; source.readTypedArray(apps, DesfireApplication.CREATOR); return new DesfireCard(tagId, scannedAt, manfData, apps); }
public Person(Parcel source) { this.name = source.readString(); this.gender = source.readString(); this.storageOfBook = source.readString(); source.readByteArray(this.imageId); }
public void readFromParcel(Parcel in) { Log.d(TAG, "in readFromParcel"); _byte = new byte[in.readInt()]; in.readByteArray(_byte); }