Renamed srcs/ into src/

This commit is contained in:
Benoit Blanchon
2014-10-16 16:25:42 +02:00
parent b847576bb4
commit 58d2c4a62f
16 changed files with 722 additions and 722 deletions

View File

@ -0,0 +1,17 @@
/*
* Arduino JSON library
* Benoit Blanchon 2014 - MIT License
*/
#include "ArduinoJson/Internals/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;
}