Check for remaining data length.