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

#include <DataChunk.h>

Public Member Functions

 DataChunk (char *data, size_t size)
 ~DataChunk ()
size_t size () const
 number of bytes in the data chunk More...
char * data () const

Detailed Description

Represent a binary data chunk

Constructor & Destructor Documentation

◆ DataChunk()

alexaClientSDK::acsdkAssets::common::DataChunk::DataChunk ( char *  data,
size_t  size 

Constructor to DataChunk object

databinary data to copy from
sizenumber of bytes

◆ ~DataChunk()

alexaClientSDK::acsdkAssets::common::DataChunk::~DataChunk ( )

Member Function Documentation

◆ data()

char* alexaClientSDK::acsdkAssets::common::DataChunk::data ( ) const

◆ size()

size_t alexaClientSDK::acsdkAssets::common::DataChunk::size ( ) const

number of bytes in the data chunk

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