Don't pass an explicit size to the data buffer if it's unknown.