Compartir a través de


streambuf::scopy Method

Copies up to a given number of characters from the stream, synchronously.

virtual size_t scopy(
   _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 copied. O if the end of the stream is reached or an asynchronous read is required.

Remarks

This is a synchronous operation, but is guaranteed to never block.

Requirements

Header: astreambuf.h

Namespace: concurrency::streams

See Also

Reference

streambuf Class