def _read_version(self, data):
version = ord(data[<NUM_LIT:0>])<EOL>if version not in self.VERSIONS:<EOL><INDENT>raise Exception('<STR_LIT>' % version)<EOL><DEDENT>return version<EOL>
Read header version from data