code: def from_data(cls, data):
          
          obj = cls()
          with contextlib.closing(BytesIO(data)) as file_handle:
              obj.load_file(file_handle)
          return obj
docs: Load an FCS file from a bytes-like object.
  
          Args:
              data: buffer containing contents of an FCS file.
  
          Returns:
              FCSParser instance with data loaded