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.
Static Public Member Functions | List of all members
Concurrency::streams::bytestream Class Reference

The bytestream is a static class that allows an input stream to be constructed from any STL container. More...

#include <containerstream.h>

Static Public Member Functions

template<typename _CollectionType >
static concurrency::streams::istream open_istream (_CollectionType data)
 Creates a single byte character input stream given an STL container. More...
 
template<typename _CollectionType >
static concurrency::streams::ostream open_ostream ()
 Creates a single byte character output stream using an STL container as storage. More...
 

Detailed Description

The bytestream is a static class that allows an input stream to be constructed from any STL container.

Member Function Documentation

template<typename _CollectionType >
static concurrency::streams::istream Concurrency::streams::bytestream::open_istream ( _CollectionType  data)
inlinestatic

Creates a single byte character input stream given an STL container.

Template Parameters
_CollectionTypeThe type of the STL collection.
Parameters
dataSTL container to back the input stream.
Returns
An single byte character input stream.
template<typename _CollectionType >
static concurrency::streams::ostream Concurrency::streams::bytestream::open_ostream ( )
inlinestatic

Creates a single byte character output stream using an STL container as storage.

Template Parameters
_CollectionTypeThe type of the STL collection.
Returns
A single byte character output stream.

The documentation for this class was generated from the following file: