1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-17 06:52:18 +01:00

borrowing WString.h from master

This commit is contained in:
Federico Fissore 2013-05-09 11:20:15 +02:00
parent 27b88aa523
commit 2de631c67c

View File

@ -147,6 +147,7 @@ public:
void getBytes(unsigned char *buf, unsigned int bufsize, unsigned int index=0) const; void getBytes(unsigned char *buf, unsigned int bufsize, unsigned int index=0) const;
void toCharArray(char *buf, unsigned int bufsize, unsigned int index=0) const void toCharArray(char *buf, unsigned int bufsize, unsigned int index=0) const
{getBytes((unsigned char *)buf, bufsize, index);} {getBytes((unsigned char *)buf, bufsize, index);}
const char * c_str() const { return buffer; }
// search // search
int indexOf( char ch ) const; int indexOf( char ch ) const;