tools/media_engagement_preload/make_dafsa.py
def encode_label(label):
  """Encodes a node label as a list of bytes with a trailing high byte >0x80.
  """
  buf = encode_prefix(label)
  # Set most significant bit to mark end of label in this node.
  buf[0] |= (1 << 7)
  return buf
Encodes a node label as a list of bytes with a trailing high byte >0x80.
  
Encodes a node label as a list of bytes with a trailing high byte >0x80.
Encodes a node label as a list of bytes with a trailing high byte > 0x80 .
def encode_label(label):
  buf = encode_prefix(label)
  buf[0] |= (1 << 7)
  return buf
def encode_label ( label ) : buf = encode_prefix ( label ) buf [ 0 ] |= ( 1 << 7 ) return buf
Encodes a node label as a list of bytes with a trailing high byte >0x80.
Encodes a node label as a list of bytes with a trailing high byte > 0x80 .
"""Encodes a node label as a list of bytes with a trailing high byte >0x80.
  """ # Set most significant bit to mark end of label in this node.
label