Moved files into Internals/ and Arduino/

This commit is contained in:
Benoit Blanchon
2014-10-01 16:08:32 +02:00
parent 1a98fd5dfc
commit d66a7adc22
19 changed files with 43 additions and 36 deletions

View File

@ -0,0 +1,17 @@
/*
* Arduino JSON library
* Benoit Blanchon 2014 - MIT License
*/
#include "StringBuilder.h"
using namespace ArduinoJson::Internals;
size_t StringBuilder::write(uint8_t c)
{
if (length >= capacity) return 0;
buffer[length++] = c;
buffer[length] = 0;
return 1;
}