Searched refs:MessageToBytes (Results 1 – 2 of 2) sorted by relevance
460 self.assertEqual(b'c: 123\n', text_format.MessageToBytes(message))465 utf8_text = text_format.MessageToBytes(message, as_utf8=True)478 ascii_text = text_format.MessageToBytes(message) # as_utf8=False default
188 def MessageToBytes(message, **kwargs): function