#NEWLINE# def __build_header( self ) : #NEWLINE# #INDENT# logger = self . logger #NEWLINE# SC = SectionCreator ( BigEndian , logger = logger ) #NEWLINE# SC . string_section ( self . MAGIC_OFF , self . MAGIC , description = 'Magic bytes for ambit header.' ) #NEWLINE# SC . gadget_section ( self . HEADER_SIZE_OFF , self . size , 'Size field representing length of ambit header.' ) #NEWLINE# buf = OverflowBuffer ( BigEndian , self . size , overflow_sections = SC . section_list , logger = logger ) #NEWLINE# return logger