def METHOD_NAME(block, ff):
    b = block.size * block.dtype.itemsize
    assert b < 2 * 1024 * 1024 * 1024 # avoid overflow!
    b = numpy.array(b, dtype='i4')
    b.tofile(ff)
    block.tofile(ff)
    b.tofile(ff)