Compartilhar via


rawptr_stream Class

The rawptr_stream class is used to create memory-backed streams that support writing or reading sequences of characters to / from a fixed-size block.

template<
   typename _CharType
>
class rawptr_stream;

Parameters

  • _CharType
    The data type of the basic element of the rawptr_stream.

Members

Public Typedefs

Name

Description

buffer_type

char_type

Public Methods

Name

Description

rawptr_stream::open_istream Method

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

rawptr_stream::open_ostream Method

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

Requirements

Header: rawptrstream.h

Namespace: concurrency::streams

See Also

Reference

concurrency::streams Namespace