Go to the documentation of this file.
   16 #include "../../include/ecl/devices/string.hpp" 
   52     new_buffer = 
new char[
size()+no_bytes+1];
 
   86     } 
else if ( rem != 0 ) {
 
  
unsigned long remaining()
Specifies the number of characters remaining to be read..
unsigned long buffer_length
long write(char c)
Write a character to the buffer.
void clear()
Clears the device's internal buffers.
const char * c_str()
Character string representation of the device's contents.
unsigned long size()
Number of characters stored in the buffer.
String(const char *str="")
Initialises the string device.
long read(char &c)
Read a character from the string device.
void grow(int no_bytes=256)
Grow the buffer by the specified amount.
std::string str()
String representation of the device's contents.
virtual ~String()
Cleans up memory allocations.
Embedded control libraries.
ecl_devices
Author(s): Daniel Stonier 
autogenerated on Wed Mar 2 2022 00:16:45