Reader.appendRemaining: Take ownership of the full allocated slice
Before this commit, calling appendRemaining with an ArrayList where list.items.len != list.capacity could result in illegal behavior if the Writer.Allocating resized the list during the appendRemaining call.
Fixes #25057
2b73c28cecRyan Liptak committed on 8/28/2025, 2:56:50 PM· committed by Andrew Kelleyparent73a0b54