Share via


rawptr_stream::open_ostream Method

Create a rawptr-stream given a pointer to a writable memory block and the size of the block.

static concurrency::streams::basic_ostream<char_type> open_ostream(
   char_type* data,
   size_t size
);

Parameters

  • data
    The address (pointer to) the memory block.

  • size
    The memory block size, measured in number of characters.

Return Value

An opened output stream.

Requirements

Header: rawptrstream.h

Namespace: concurrency::streams

See Also

Reference

rawptr_stream Class