1/* 2* Copyright 2010, Haiku. All rights reserved. 3* Distributed under the terms of the MIT License. 4* 5* Authors: 6* Michael Pfeiffer 7*/ 8#ifndef OUTPUT_STREAM_H 9#define OUTPUT_STREAM_H 10 11#include "Transport.h" 12 13 14class OutputStream 15{ 16public: 17 virtual void Write(const void *buffer, size_t size) 18 /* throw(TransportException) */ = 0; 19}; 20 21 22#endif 23