AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::avsCommon::utils::stream::Streambuf Class Reference

#include <Streambuf.h>

Inheritance diagram for alexaClientSDK::avsCommon::utils::stream::Streambuf:
Inheritance graph
Collaboration diagram for alexaClientSDK::avsCommon::utils::stream::Streambuf:
Collaboration graph

Public Member Functions

 Streambuf (const unsigned char *data, size_t length)
std::streampos seekoff (std::streamoff off, std::ios_base::seekdir way, std::ios_base::openmode which=std::ios_base::in) override
std::streampos seekpos (std::streampos sp, std::ios_base::openmode which=std::ios_base::in) override

Detailed Description

This class takes byte array and makes a non-copying std::streambuf out of it.

Constructor & Destructor Documentation

◆ Streambuf()

alexaClientSDK::avsCommon::utils::stream::Streambuf::Streambuf ( const unsigned char *  data,
size_t  length 


datathe beginning of the byte array
lengththe size of the byte array

Member Function Documentation

◆ seekoff()

std::streampos alexaClientSDK::avsCommon::utils::stream::Streambuf::seekoff ( std::streamoff  off,
std::ios_base::seekdir  way,
std::ios_base::openmode  which = std::ios_base::in 

◆ seekpos()

std::streampos alexaClientSDK::avsCommon::utils::stream::Streambuf::seekpos ( std::streampos  sp,
std::ios_base::openmode  which = std::ios_base::in 

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

AlexaClientSDK 3.0.0 - Copyright 2016-2022, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0