Use ArrayDeque for pending output stream changes.
The current logic uses manual array operations to keep track of pending changes. Modernize this code by using an ArrayDeque and a data class. This also allows to extend the output stream information in the future. This also fixes a bug where a position reset accidentally assigns a pending stream offset instead of keeping the current one. #minor-release PiperOrigin-RevId: 511787571
Showing
with
42 additions
and
68 deletions
Please
register
or
sign in
to comment