| Source path: svn/ trunk/ hardware/ arduino/ cores/ arduino/ WString.h |
|
|
|
|
Change log
Changing String::toCharArray() and getBytes() to accept a buffer, rather than return one. That way they don't expose the internal representation of the String class, allowing future optimization. Thanks to Paul Stoffregen.
| Go to: |
Sign in to write a code review
Older revisions
r1074
by dmellis
on Aug 18, 2010
Diff
Adding some basic error checking to the String class (i.e. checking for a non-null buffer before modifying its contents).
r1037
by dmellis
on Aug 5, 2010
Diff
No longer requiring WProgram.h for Print / Stream classes (replaced Arduino-specific type names in String).