def __init__(self, _io, _parent=None, _root=None):
            self._io = _io
            self._parent = _parent
            self._root = _root if _root else self
            self.magic = self._io.ensure_fixed_contents(struct.pack('1b', -86))
            self.reserved = self._io.read_bits_int(1) != 0
            self.frame_type = self._root.SyncWord.FrameTypeEnum(
                self._io.read_bits_int(3))
            self.version_number = self._root.SyncWord.VersionNumberEnum(
                self._io.read_bits_int(4))