Compartir a través de


rawptr_stream::open_istream Method

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

static concurrency::streams::basic_istream<char_type> open_istream(
   const char_type* data,
   size_t size
);

static concurrency::streams::basic_istream<char_type> open_istream(
   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 input stream.

Requirements

Header: rawptrstream.h

Namespace: concurrency::streams

See Also

Reference

rawptr_stream Class