17 lines
387 B
C++
17 lines
387 B
C++
|
/***
|
||
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||
|
|
||
|
File: IProtocolBaseReader.hpp
|
||
|
Date: 2022-8-24
|
||
|
Author: Reece
|
||
|
***/
|
||
|
#pragma once
|
||
|
|
||
|
namespace Aurora::IO::Protocol
|
||
|
{
|
||
|
struct IProtocolBaseReader
|
||
|
{
|
||
|
virtual AuSPtr<IStreamReader> AsStreamReader() = 0;
|
||
|
virtual AuSPtr<Memory::ByteBuffer> AsReadableByteBuffer() = 0;
|
||
|
};
|
||
|
}
|