mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Added DynamicJsonBuffer::clear()
This commit is contained in:
@@ -71,7 +71,7 @@ class StaticJsonBufferBase : public JsonBufferBase<StaticJsonBufferBase> {
|
||||
return doAlloc(bytes);
|
||||
}
|
||||
|
||||
// Resets the size to zero.
|
||||
// Resets the buffer.
|
||||
// USE WITH CAUTION: this invalidates all previously allocated data
|
||||
void clear() {
|
||||
_size = 0;
|
||||
|
||||
Reference in New Issue
Block a user