RSeries astromech firmware
RamBufferedPrintStream Class Reference

#include <core/PSRamBufferedPrintStream.h>

Inherits Print.

Public Member Functions

 RamBufferedPrintStream (Stream &stream, size_t siz=4096)
 
void flush ()
 
virtual ~RamBufferedPrintStream ()
 
virtual size_t write (uint8_t ch) override
 
virtual size_t write (const uint8_t *buffer, size_t size) override
 

Constructor & Destructor Documentation

◆ RamBufferedPrintStream()

RamBufferedPrintStream::RamBufferedPrintStream ( Stream &  stream,
size_t  siz = 4096 
)
inline

◆ ~RamBufferedPrintStream()

virtual RamBufferedPrintStream::~RamBufferedPrintStream ( )
inlinevirtual

Member Function Documentation

◆ flush()

void RamBufferedPrintStream::flush ( )
inline

◆ write() [1/2]

virtual size_t RamBufferedPrintStream::write ( const uint8_t *  buffer,
size_t  size 
)
inlineoverridevirtual

◆ write() [2/2]

virtual size_t RamBufferedPrintStream::write ( uint8_t  ch)
inlineoverridevirtual

The documentation for this class was generated from the following file: