Skip to content

fix Stream.read into buffer ignoring every second byte #8453

Merged
d-a-v merged 1 commit intoesp8266:masterfrom
beliasson:master
Jan 18, 2022
Merged

fix Stream.read into buffer ignoring every second byte #8453
d-a-v merged 1 commit intoesp8266:masterfrom
beliasson:master

Conversation

@beliasson
Copy link
Contributor

@beliasson beliasson commented Jan 18, 2022

As shown in #8452, the default implementation for int Stream::read (uint8_t* buffer, size_t maxLen) only writes every second byte into the given buffer.

fixes #8452

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

default implementation for buffered Stream.read only reads every second byte

2 participants