Skip to content

Correct decoding of "dynamic" objects.#2

Open
remyoudompheng wants to merge 2 commits intoelobuff:masterfrom
remyoudompheng:master
Open

Correct decoding of "dynamic" objects.#2
remyoudompheng wants to merge 2 commits intoelobuff:masterfrom
remyoudompheng:master

Conversation

@remyoudompheng
Copy link

Dynamic objects end with an empty string. The current code for reading empty strings will fail at the end of a bytes.Reader, which is a typical use case (including unit tests).

Rémy Oudompheng added 2 commits October 8, 2017 21:19
This scenario typically happens when decoding a dynamic Object.
The reader is allowed to return an EOF error in such a case, which
should not be considered as a failure.
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.

1 participant