'Write a record (including sizes) to the file.
Parameters
s : array_like
The data to write.'

def write_record(self, s):

    s = np.array(s, order='F')
    np.array([s.nbytes], dtype=self._header_dtype).tofile(self._fp)
    s.tofile(self._fp)
    np.array([s.nbytes], dtype=self._header_dtype).tofile(self._fp)
