parameters: (label)
return_statement: return buf
docstring: Encodes a node label as a list of bytes with a trailing high byte >0x80.
docstring_summary: Encodes a node label as a list of bytes with a trailing high byte >0x80.
docstring_tokens: Encodes a node label as a list of bytes with a trailing high byte > 0x80 .
function: 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
function_tokens: def encode_label ( label ) : buf = encode_prefix ( label ) # Set most significant bit to mark end of label in this node. buf [ 0 ] |= ( 1 << 7 ) return buf