![]() |
C++ Rest SDK
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
|
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. More...
#include <rawptrstream.h>
Public Types | |
| typedef _CharType | char_type |
| typedef rawptr_buffer< _CharType > | buffer_type |
Static Public Member Functions | |
| static concurrency::streams::basic_istream< char_type > | open_istream (const char_type *data, size_t size) |
| Create a rawptr-stream given a pointer to a read-only memory block and the size of the block. More... | |
| static concurrency::streams::basic_istream< char_type > | open_istream (char_type *data, size_t size) |
| Create a rawptr-stream given a pointer to a writable memory block and the size of the block. More... | |
| static concurrency::streams::basic_ostream< char_type > | open_ostream (char_type *data, size_t size) |
| Create a rawptr-stream given a pointer to a writable memory block and the size of the block. More... | |
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.
| _CharType | The data type of the basic element of the rawptr_stream. |
|
inlinestatic |
Create a rawptr-stream given a pointer to a read-only memory block and the size of the block.
| data | The address (pointer to) the memory block. |
| size | The memory block size, measured in number of characters. |
|
inlinestatic |
Create a rawptr-stream given a pointer to a writable memory block and the size of the block.
| data | The address (pointer to) the memory block. |
| size | The memory block size, measured in number of characters. |
|
inlinestatic |
Create a rawptr-stream given a pointer to a writable memory block and the size of the block.
| data | The address (pointer to) the memory block. |
| size | The memory block size, measured in number of characters. |
1.8.10