#include "Writer.h"

using namespace Framework;

OStreamWriter::OStreamWriter(std::ostream& out)
    : out(out)
{}

void OStreamWriter::schreibe(const char* bytes, int len)
{
    out.write(bytes, (__int64)len);
}

bool OStreamWriter::istEnde() const
{
    return out.eof();
}