@classmethod<EOL><INDENT>def from_data(cls, data):<DEDENT>
obj = cls()<EOL>with contextlib.closing(BytesIO(data)) as file_handle:<EOL><INDENT>obj.load_file(file_handle)<EOL><DEDENT>return obj<EOL>
Load an FCS file from a bytes-like object.

        Args:
            data: buffer containing contents of an FCS file.

        Returns:
            FCSParser instance with data loaded