Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

Edited Unassigned: basic_istream::read_to_end returns a size_t on 32-bit platforms [243]

$
0
0
Reported by https://casablanca.codeplex.com/discussions/561562.

The member function
```
template<typename _CharType>
pplx::task<size_t>
Concurrency::streams::basic_istream<_CharType>::read_to_end
(streams::streambuf<CharType> target) const
```

Returns a size_t on 32-bit platforms (which resolves to a 32-bit integer). This is problematic for streams with more than 4Gb of data (such as file-backed streams).

Viewing all articles
Browse latest Browse all 4845

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>