// Copyright (C) 2015 Jérôme Leclercq // This file is part of the "Nazara Engine - Core module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_OUTPUTSTREAM_HPP #define NAZARA_OUTPUTSTREAM_HPP #include #include namespace Nz { class NAZARA_CORE_API OutputStream : public virtual Stream { public: virtual ~OutputStream(); virtual void Flush() = 0; bool Write(const ByteArray& byteArray); bool Write(const String& string); virtual std::size_t Write(const void* buffer, std::size_t size) = 0; }; } #endif // NAZARA_OUTPUTSTREAM_HPP