
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
ExoPlayer library
The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.