tools/media_engagement_preload/make_dafsa.py
def to_proto(data):
  """Generates protobuf from a list of encoded bytes."""
  message = media_engagement_preload_pb2.PreloadedData()
  message.dafsa = array.array('B', data).tobytes()
  return message.SerializeToString()
Generates protobuf from a list of encoded bytes.
Generates protobuf from a list of encoded bytes.
Generates protobuf from a list of encoded bytes .
def to_proto(data):
  message = media_engagement_preload_pb2.PreloadedData()
  message.dafsa = array.array('B', data).tobytes()
  return message.SerializeToString()
def to_proto ( data ) : message = media_engagement_preload_pb2 . PreloadedData ( ) message . dafsa = array . array ( 'B' , data ) . tobytes ( ) return message . SerializeToString ( )
Generates protobuf from a list of encoded bytes.
Generates protobuf from a list of encoded bytes .
"""Generates protobuf from a list of encoded bytes."""
data