Bagikan melalui


streambuf::putn Method

Writes a number of characters to the stream.

virtual pplx::task<size_t> putn(
   const _CharType *ptr,
   size_t count
);

Parameters

  • ptr
    A pointer to the block of data to be written.

  • count
    The number of characters to write.

Return Value

The number of characters actually written, either 'count' or 0.

Requirements

Header: astreambuf.h

Namespace: concurrency::streams

See Also

Reference

streambuf Class