Compartilhar via


rawptr_buffer::rawptr_buffer Constructor

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

rawptr_buffer(
   const char_type* data,
   size_t size
);

rawptr_buffer(
   char_type* data,
   size_t size,
   std::ios_base::openmode mode = std;

rawptr_buffer();

Parameters

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

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

  • mode

Requirements

Header: rawptrstream.h

Namespace: concurrency::streams

See Also

Reference

rawptr_buffer Class