def __init__(self, rtap_bytes):
super(Radiotap, self).__init__()<EOL>self._raw = {}   <EOL>self._bits = {}  <EOL>idx = <NUM_LIT:0><EOL>self._rtap = rtap_bytes<EOL>self.vers = Radiotap.strip_vers(self._rtap[idx:idx + <NUM_LIT:1>])<EOL>idx += <NUM_LIT:1><EOL>self.pad = Radiotap.strip_pad(self._rtap[idx:idx + <NUM_LIT:1>])<EOL>idx += <NUM_LIT:1><EOL>self.len = Radiotap.strip_len(self._rtap[idx:idx + <NUM_LIT:2>])<EOL>idx += <NUM_LIT:2><EOL>self.present, self.present_bits = Radiotap.strip_present(self._rtap[idx:idx + <NUM_LIT:4>])<EOL>idx += <NUM_LIT:4><EOL>if self.present.tsft:  <EOL><INDENT>idx, self.mactime = self.strip_tsft(idx)<EOL><DEDENT>if self.present.flags:  <EOL><INDENT>idx, self.flags = self.strip_flags(idx)<EOL><DEDENT>if self.present.rate:  <EOL><INDENT>idx, self.rate = self.strip_rate(idx)<EOL><DEDENT>if self.present.channel:  <EOL><INDENT>idx, self.chan = self.strip_chan(idx)<EOL><DEDENT>if self.present.fhss:  <EOL><INDENT>idx, self.fhss = self.strip_fhss(idx)<EOL><DEDENT>if self.present.dbm_antsignal:  <EOL><INDENT>idx, self.dbm_antsignal = self.strip_dbm_antsignal(idx)<EOL><DEDENT>if self.present.dbm_antnoise:  <EOL><INDENT>idx, self.dbm_antnoise = self.strip_dbm_antnoise(idx)<EOL><DEDENT>if self.present.lock_quality:  <EOL><INDENT>idx, self.lock_quality = self.strip_lock_quality(idx)<EOL><DEDENT>if self.present.tx_attenuation:  <EOL><INDENT>idx, self.tx_attenuation = self.strip_tx_attenuation(idx)<EOL><DEDENT>if self.present.db_tx_attenuation:  <EOL><INDENT>idx, self.db_tx_attenuation = self.strip_db_tx_attenuation(idx)<EOL><DEDENT>if self.present.dbm_tx_power:  <EOL><INDENT>idx, self.dbm_tx_power = self.strip_dbm_tx_power(idx)<EOL><DEDENT>if self.present.antenna:  <EOL><INDENT>idx, self.antenna = self.strip_antenna(idx)<EOL><DEDENT>if self.present.db_antsignal:  <EOL><INDENT>idx, self.db_antsignal = self.strip_db_antsignal(idx)<EOL><DEDENT>if self.present.db_antnoise:  <EOL><INDENT>idx, self.db_antnoise = self.strip_db_antnoise(idx)<EOL><DEDENT>if self.present.rxflags:  <EOL><INDENT>idx, self.rxflags = self.strip_rx_flags(idx)<EOL><DEDENT>if self.present.txflags:  <EOL><INDENT>idx, self.txflags = self.strip_tx_flags(idx)<EOL><DEDENT>if self.present.rts_retries:  <EOL><INDENT>idx, self.rts_retries = self.strip_rts_retries(idx)<EOL><DEDENT>if self.present.data_retries:  <EOL><INDENT>idx, self.data_retries = self.strip_data_retries(idx)<EOL><DEDENT>if self.present.xchannel:  <EOL><INDENT>idx, self.xchannel = self.strip_xchannel(idx)<EOL><DEDENT>if self.present.mcs:  <EOL><INDENT>idx, self.mcs = self.strip_mcs(idx)<EOL><DEDENT>if self.present.ampdu:  <EOL><INDENT>idx, self.ampdu = self.strip_ampdu(idx)<EOL><DEDENT>if self.present.vht:  <EOL><INDENT>idx, self.vht = self.strip_vht(idx)<EOL><DEDENT>self.prot_type = self.extract_protocol()<EOL>
Constructor method.
        :rtap_bytes: ctypes.Structure