Class CharBuffer

Class Documentation

class CharBuffer

Simple char string buffer class for use internally by the devices.

This accommodates buffers which always reserve at least one extra byte for the end of string character.

See also

OConsole.

Public Functions

inline CharBuffer()
inline virtual ~CharBuffer()
inline unsigned int remaining()
inline unsigned int size() const
bool full() const
long append(const char &c)
long append(const char *s, unsigned long n)
void clear()
inline char *c_ptr()

Public Static Attributes

static const unsigned int buffer_size = 4096