DynamicMemoryStream: How to get "progress" or "position" during playback? #2100
-
In my application I'd like to do things in sync with certain moments during playback of a DynamicMemoryStream buffer. I can get the total size with .size() and the number of bytes in the copier buffer with .available() but I'm not sure how to get the current "position" of the copier buffer within the total buffer. I read the class docs (around line 574 in BaseStream.h) but I can't exactly understand how to get this info. |
Beta Was this translation helpful? Give feedback.
Answered by
pschatzmann
Jul 7, 2025
Replies: 1 comment 1 reply
-
I have added a new getPos() method. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
pschatzmann
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have added a new getPos() method.