AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventDecoderStream.h
1
6#pragma once
7#include <aws/core/Core_EXPORTS.h>
8#include <aws/core/utils/event/EventStreamBuf.h>
9#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
10
11namespace Aws
12{
13 namespace Utils
14 {
15 namespace Event
16 {
17 extern AWS_CORE_API const size_t DEFAULT_BUF_SIZE;
18
23 class AWS_CORE_API EventDecoderStream : public Aws::IOStream
24 {
25 public:
31 EventDecoderStream(EventStreamDecoder& decoder, size_t bufferSize = DEFAULT_BUF_SIZE);
32
33 private:
36 EventDecoderStream& operator=(const EventDecoderStream&) = delete;
37 EventDecoderStream& operator=(EventDecoderStream&&) = delete;
38
39 EventStreamBuf m_eventStreamBuf;
40 };
41 }
42 }
43}
EventDecoderStream(EventStreamDecoder &decoder, size_t bufferSize=DEFAULT_BUF_SIZE)
AWS_CORE_API const size_t DEFAULT_BUF_SIZE
std::basic_iostream< char, std::char_traits< char > > IOStream