SpaceString : reorder parameters, prefer out buf to be the first