Lines Matching refs:read
43 /// Data structures that can be deserialized and read out by MsgPracel,typically
59 /// let a = parcel.read()?;
60 /// let b = parcel.read()?;
66 /// Deserialize and read out from MsgParcel.
86 let null: i32 = parcel.read()?;
90 parcel.read().map(Some)
110 /// 2. Write this type to the MsgParcel and then read it out, check the
128 assert!(msg.read::<bool>().unwrap());
129 assert_eq!(String::from("hello"), msg.read::<String>().unwrap());
136 /// 2. Write this type to the MsgParcel and then read it out, check the
142 let a = parcel.read().unwrap();
143 let b = parcel.read().unwrap();
144 let c = parcel.read().unwrap();
157 assert_eq!(test, msg.read().unwrap());