Does it really matter here ? Either way, the buffer will remain valid until the function returns.