Searched refs:Unpack (Results 1 – 7 of 7) sorted by relevance
72 Assert.Throws<InvalidProtocolBufferException>(() => any.Unpack<TestOneof>()); in Unpack_WrongType()80 var unpacked = any.Unpack<TestAllTypes>(); in Unpack_Success()89 var unpacked = any.Unpack<TestAllTypes>(); in Unpack_CustomPrefix_Success()
69 public T Unpack<T>() where T : IMessage, new()
600 self.assertTrue(msg.value.Unpack(unpacked_message))603 self.assertFalse(msg.value.Unpack(msg))639 self.assertTrue(msg.Unpack(unpacked_message))
1106 message.any_value.Unpack(packed_message)1123 message.repeated_any_value[0].Unpack(packed_message)1125 message.repeated_any_value[1].Unpack(packed_message)1137 message.any_value.Unpack(packed_message)1174 message.any_value.Unpack(packed_message)
77 def Unpack(self, msg): member in Any
75 // any.Unpack(foo)
321 * Library: Added Any.Pack/Unpack support.