Skip to content

Commit

Permalink
Revert change to upgrade notes in #2116 (#2120)
Browse files Browse the repository at this point in the history
Premature as PR hasn't been submitted yet! This will end up in 4.1 -> 4.2.
  • Loading branch information
mikee47 authored Oct 20, 2020
1 parent fa5682f commit 83db306
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions docs/source/upgrading/4.0-4.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,3 @@ by the application code:
server.setBodyParser(MIME_FORM_MULTIPART, formMultipartParser);


Stream methods
==============

:pull-request:`1867` added a :cpp:func:`IDataSourceStream::readString(size_t)` method which shadows
:cpp:func:`Stream::readString`. Its behaviour was also inconsistent in that the stream position
was left unchanged for memory streams. This has been corrected, and is now a virtual method.

The :c:func:`Stream::readBytes` has been virtualised and overriden for :cpp:class:`IDataSourceStream`
descendents for more efficient operation, especially with ArduinoJson.
For normal read operations where the stream position is to be updated, applications should use
this method in preference to :c:func:`IDataSourceStream::readMemoryBlock`.

0 comments on commit 83db306

Please sign in to comment.