def _read_id_struct(fid, tag, shape, rlims):
    return dict(
        version=int(np.fromstring(fid.read(4), dtype=">i4")),
        machid=np.fromstring(fid.read(8), dtype=">i4"),
        secs=int(np.fromstring(fid.read(4), dtype=">i4")),
        usecs=int(np.fromstring(fid.read(4), dtype=">i4")))
Read ID struct tag
dataset/ETHPy150Open mne-tools/mne-python/mne/io/tag.py/_read_id_struct