def ConvertToWireFormat(self, value):
    data = value.SerializeToString()
    return (self.encoded_tag, VarintEncode(len(data)), data)
Encode the nested protobuf into wire format.
dataset/ETHPy150Open google/grr/grr/lib/rdfvalues/structs.py/ProtoDynamicEmbedded.ConvertToWireFormat