#NEWLINE# def getBytes( self , trimmed = False ) : #NEWLINE# #INDENT# "Construct and return the byte string represented by this cell.\n\n        :param bool trimmed: Whether or not we should pad this cell's bytes.\n            If **True**, pad based on Link Protocol version in use.\n        :returns: **str** raw bytes this cell represents\n        " #NEWLINE# ret = self . header . getBytes ( ) #NEWLINE# ret += self . timestamp #NEWLINE# ret += self . other_or_address . getBytes ( ) #NEWLINE# ret += struct . pack ( '!B' , self . num_addresses ) #NEWLINE# for TLVaddr in self . this_or_addresses : #NEWLINE# #INDENT# ret += TLVaddr . getBytes ( ) #NEWLINE# #UNINDENT# if ( trimmed is True ) : #NEWLINE# #INDENT# return ret #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return FixedLenCell . padCellBytes ( trimmed , self . header . link_version )