89 virtual void Write(
const void* data,
size_t size) = 0;
110 virtual void Write(
const void* data,
size_t size);
122 WriterStream(std::basic_ostream<
char, std::char_traits<char> >& stream);
126 WriterStream(std::basic_ostream<
wchar_t, std::char_traits<wchar_t> >& stream);
131 virtual void Write(
const void* data,
size_t size);
135 std::basic_ostream<char, std::char_traits<char> >* narrow_stream;
137 std::basic_ostream<wchar_t, std::char_traits<wchar_t> >* wide_stream;
163 void Write(
const void* data,
size_t size) { WrappedStream->Write(data,size); }
173 #endif // Include guard