20 lines
439 B
C++
20 lines
439 B
C++
/***
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: IStreamWriter.hpp
|
|
Date: 2021-6-10
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora::IO
|
|
{
|
|
class IStreamWriter
|
|
{
|
|
public:
|
|
virtual EStreamError Open() = 0;
|
|
virtual EStreamError Write(const void *buffer, AuUInt32 len) = 0;
|
|
virtual void Flush() = 0;
|
|
virtual void Close() = 0;
|
|
};
|
|
} |