Skip to content

Merged memory loop is not repeating #1471

Answered by pschatzmann
jaapnoordzij asked this question in Q&A
Discussion options

You must be logged in to vote

Interesting question: the copier checks for the available data and in the InputMerge I use the min of all streams to provide this result.

I changed the available() method in MemoryStream to return a fixed DEFAULT_BUFFER_SIZE instead of the effective available bytes up to the end when it is in loop mode. With this change, your sketch should work correctly now!

The correction has been committed to github

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jaapnoordzij
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants