def _write_darray(self, array, vtuf, dtype):
    array = array.astype(dtype)
    np.uint32(array.nbytes).tofile(vtuf)
    array.tofile(vtuf)
def _write_darray(self, array, vtuf, dtype):
    array = array.astype(dtype)
    np.uint32(array.nbytes).tofile(vtuf)
    array.tofile(vtuf)