def _writen(fd, data):
    while data != '':
        n = os.write(fd, data)
        data = data[n:]
Read a 1D raw binary SIMPSON file. See :py:func:`read`.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/pty.py/_writen--crossover with--dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/simpson.py/read_raw_bin_1d