I think this could be shortened to `Process.constant(buf)`