Lines Matching defs:read
105 /// assert_eq!(1, msg.read::<i32>().unwrap());
130 /// Ok(Foo { a: parcel.read()? })
135 /// let foo = msg.read::<Foo>().unwrap();
138 pub fn read<T: Deserialize>(&mut self) -> IpcResult<T> {
186 /// .read(true)
219 /// .read(true)
470 /// msg.read::<i32>().unwrap();
541 /// Changes the read position of the MsgParcel.
554 /// assert_eq!(2, msg.read().unwrap());
578 /// assert_eq(2, msg.read().unwrap());
588 /// Skip read data in bytes of the MsgParcel
591 /// if skip size > readable data the the read position will be the capacity.
601 /// assert_eq!(2, msg.read().unwrap());
817 /// 3. Write a bool and read it out.
824 msg.read::<bool>().unwrap();