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

#include <AttachmentUtils.h>

Static Public Member Functions

static std::unique_ptr< AttachmentReadercreateAttachmentReader (const std::vector< char > &srcBuffer)
 

Detailed Description

A collection of util functions related to Attachment classes.

Member Function Documentation

◆ createAttachmentReader()

static std::unique_ptr<AttachmentReader> alexaClientSDK::avsCommon::avs::attachment::AttachmentUtils::createAttachmentReader ( const std::vector< char > &  srcBuffer)
static

Create an AttachmentReader with a preset content of a std::vector of char.

Parameters
srcBufferThe reader content.
Returns
A new AttachmentReader or nullptr if the operation failed.

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

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