mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
ee284f2ee6
As reported in gh-34651, `DataBuffer#getByte` can be inefficient for some implementations, as bound checks are performed for each call. This commit introduces a new `forEachByte` method that helps with traversing operations without paying the bound check cost for each byte. Closes gh-35623