mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

It's potentially confusing that this resets both position & limit, so require callers to pass `limit` explicitly, or call setPosition(0) if that's actually what they intended. This makes enforcing the limit in an upcoming change slightly safer. PiperOrigin-RevId: 323340485