Use actual length returned for data.