9#include <aws/core/Core_EXPORTS.h>
10#include <aws/core/utils/Array.h>
44 unsigned char*
GetBuffer() {
return m_underlyingBuffer; }
47 pos_type
seekoff(off_type off, std::ios_base::seekdir dir, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out)
override;
48 pos_type
seekpos(pos_type pos, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out)
override;
51 unsigned char* m_underlyingBuffer;
52 const uint64_t m_lengthToRead;
PreallocatedStreamBuf & operator=(const PreallocatedStreamBuf &)=delete
pos_type seekoff(off_type off, std::ios_base::seekdir dir, std::ios_base::openmode which=std::ios_base::in|std::ios_base::out) override
PreallocatedStreamBuf(unsigned char *buffer, uint64_t lengthToRead)
PreallocatedStreamBuf(PreallocatedStreamBuf &&toMove)=delete
PreallocatedStreamBuf & operator=(PreallocatedStreamBuf &&)=delete
PreallocatedStreamBuf(const PreallocatedStreamBuf &)=delete
pos_type seekpos(pos_type pos, std::ios_base::openmode which=std::ios_base::in|std::ios_base::out) override
unsigned char * GetBuffer()