#NEWLINE# def get_payload( self ) : #NEWLINE# #INDENT# self . payload_fields . append ( ( 'Label' , self . label ) ) #NEWLINE# field_len_bytes = 32 #NEWLINE# label = '' . join ( ( little_endian ( bitstring . pack ( '8' , ord ( c ) ) ) for c in self . label ) ) #NEWLINE# padding = '' . join ( ( little_endian ( bitstring . pack ( '8' , 0 ) ) for i in range ( ( c - len ( self . label ) ) ) ) ) #NEWLINE# payload = ( label + padding ) #NEWLINE# return payload