code: def parse(self):
          
          if len(self.raw_data) < 3:
              ValueError("parse() may only be called on a frame containing at "
                         "least 3 bytes of raw data (see fill())")
  
          # First two bytes are the length of the data
          raw_len = self.raw_data[1:3]
  
          # Unpack it
          data_len = struct.unpack("> h", raw_len)[0]
  
          # Read the data
          data = self.raw_data[3:3 + data_len]
          chksum = self.raw_data[-1]
  
          # Checksum check
          self.data = data
          if not self.verify(chksum):
              raise ValueError("Invalid checksum")
docs: parse: None -> None
  
          Given a valid API frame, parse extracts the data contained
          inside it and verifies it against its checksum