StringBufferImpl

A super simple string buffer that will free its string if its gets out of scope. To use it as a OutputRange use the value returned from the writer method. getData will return a string that points to the data stored in the StringBuffer. If the StringBuffer gets cleared up the string returned by getData can no longer be used.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

getData
T getData()
Undocumented in source. Be warned that the author may not have intended to support it.
insertBack
void insertBack(const(char) c)
Undocumented in source. Be warned that the author may not have intended to support it.
insertBack
void insertBack(dchar c)
Undocumented in source. Be warned that the author may not have intended to support it.
insertBack
void insertBack(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
insertBack
void insertBack(const(char)[] s)
Undocumented in source. Be warned that the author may not have intended to support it.
removeAll
void removeAll()
Undocumented in source. Be warned that the author may not have intended to support it.
writer
OutputRange writer()
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

OutputRange
struct OutputRange
Undocumented in source.

Variables

capacity
size_t capacity;
Undocumented in source.
copied
bool copied;
Undocumented in source.
length
size_t length;
Undocumented in source.
overflow
char* overflow;
Undocumented in source.
stack
char[stackLen] stack;
Undocumented in source.

Meta