def strip_flags(self, idx):
flags = collections.namedtuple(<EOL>'<STR_LIT>', ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>'])<EOL>val, = struct.unpack_from('<STR_LIT>', self._rtap, idx)<EOL>bits = format(val, '<STR_LIT>')[::-<NUM_LIT:1>]<EOL>flags.cfp = int(bits[<NUM_LIT:0>])<EOL>flags.preamble = int(bits[<NUM_LIT:1>])<EOL>flags.wep = int(bits[<NUM_LIT:2>])<EOL>flags.fragmentation = int(bits[<NUM_LIT:3>])<EOL>flags.fcs = int(bits[<NUM_LIT:4>])<EOL>flags.datapad = int(bits[<NUM_LIT:5>])<EOL>flags.badfcs = int(bits[<NUM_LIT:6>])<EOL>flags.shortgi = int(bits[<NUM_LIT:7>])<EOL>return idx + <NUM_LIT:1>, flags<EOL>
strip(1 byte) radiotap.flags
        :idx: int
        :return: int
            idx
        :return: collections.namedtuple