sprint 1-alpha
Public Member Functions
sprint::write_buffer< T > Class Template Reference

#include <bufferize.h>

List of all members.

Public Member Functions

 write_buffer (const T &t, int capacity)
bool good () const
 the output stream is valid?
bool write (const unsigned char *ptr, int n)
 write buffered data.
bool flush ()
 send buffered data
bool put (unsigned char c)
 put a single character inside buffer

Detailed Description

template<class T>
class sprint::write_buffer< T >

class used to bufferize output object T must have method T::write(buf, size);


Member Function Documentation

template<class T >
bool sprint::write_buffer< T >::flush ( )

send buffered data

affidable writing


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines