共用方式為


rawptr_buffer Class

The rawptr_buffer class serves as a memory-based stream buffer that supports reading sequences of characters to or from a fixed-size block. Note that it cannot be used simultaneously for reading as well as writing.

template<
   typename _CharType
>
class rawptr_buffer : public streambuf<_CharType>;

Parameters

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

Members

Public Typedefs

Name

Description

char_type

Public Constructors

Name

Description

rawptr_buffer::rawptr_buffer Constructor

Overloaded. Create a rawptr_buffer given a pointer to a memory block and the size of the block.

Requirements

Header: rawptrstream.h

Namespace: concurrency::streams

See Also

Reference

concurrency::streams Namespace