streambuf::getn Method
Reads up to a given number of characters from the stream.
virtual pplx::task<size_t> getn(
_Out_writes_(count) _CharType *ptr,
_In_ size_t count
);
Parameters
ptr
The address of the target memory area.count
The maximum number of characters to read.
Return Value
The number of characters read. O if the end of the stream is reached.
Requirements
Header: astreambuf.h
Namespace: concurrency::streams